1.0.2 • Published 2 years ago
@wolpertingerlabs/perception-ts-gpt v1.0.2
Perception, a Typescript GPT Implementation
Inspired by Auto-GPT, Perception is a Node.JS / Typescript implementation with some important changes:
- Written in Typescript due to familiarity with Node
- Auto-GPT has some limitations that I'd like to work around
- Perception is intended to have more complex logic and more freedom
Installation
git clone https://github.com/WolpertingerLabs/perception-ts-gpt.gitcd Perception-TS-GPTnpm install
Setup - Required
- Copy
.env.exampleto.env - Edit
.env, provide the required environment variables:OPENAI_API_KEY- Your OpenAI API key, provided by the OpenAI API Key platform
Setup - Optional
Edit .env, provide any of the optional environment variables.
GOOGLE_API_KEY- Your Google API keyGOOGLE_CUSTOM_SEARCH_ENGINE_ID- Your custom Google search engine ID
Usage
Development
npm run start:dev
Prettier
npm run prettier
Lint
npm run lint
Build for Production
npm run build
Production
npm run start