@wolpertingerlabs/perception-ts-gpt
v1.0.2
Published
Inspired by AutoGPT & AgentGPT, a Typescript implementation of an OpenAI automated prompter
Downloads
2
Readme
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.git
cd Perception-TS-GPT
npm install
Setup - Required
- Copy
.env.example
to.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