1.0.2 • Published 11 months ago

@wolpertingerlabs/perception-ts-gpt v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Perception, a Typescript GPT Implementation

Inspired by Auto-GPT, Perception is a Node.JS / Typescript implementation with some important changes:

  1. Written in Typescript due to familiarity with Node
  2. Auto-GPT has some limitations that I'd like to work around
  3. Perception is intended to have more complex logic and more freedom

Installation

  1. git clone https://github.com/WolpertingerLabs/perception-ts-gpt.git
  2. cd Perception-TS-GPT
  3. npm install

Setup - Required

  1. Copy .env.example to .env
  2. Edit .env, provide the required environment variables:
    1. 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

  1. GOOGLE_API_KEY - Your Google API key
  2. GOOGLE_CUSTOM_SEARCH_ENGINE_ID - Your custom Google search engine ID

Usage

Development

  1. npm run start:dev

Prettier

  1. npm run prettier

Lint

  1. npm run lint

Build for Production

  1. npm run build

Production

  1. npm run start