- 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
- 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
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>
npm run dev