Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 838 Bytes

README.md

File metadata and controls

40 lines (34 loc) · 838 Bytes

Custom Chatbot

Before You Start

For Local Development

  • Download LM Studio link
  • (Optional) Download lms CLI tool
    • For Windows, Open Command Prompt and run
cmd /c %USERPROFILE%/.cache/lm-studio/bin/lms.exe bootstrap
    • For Linux/macOS, Open terminal and run
~/.cache/lm-studio/bin/lms bootstrap

Using OpenAI API Key

  • Retrieve an API key for your project from OpenAI official site NOTICE: If using OpenAI api key you will need to make minor changes to route.js file to use your key

Getting Started

cd chatassitant
npm install

create an environment file to store api keys For example, if using the CLI type

touch  .env

and add OPENAI_API_KEY=<YOUR KEY HERE>

Run It!

npm run dev

Congratulations Your All Done!