Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/justinhennis1/chatassistant

Custom chatbot for daily planning, llama3 integration. Very simple chat component that can be integrated with any project.
https://github.com/justinhennis1/chatassistant

assistant-chat-bots chatbot llama3 llm lm-studio nextjs

Last synced: 11 days ago
JSON representation

Custom chatbot for daily planning, llama3 integration. Very simple chat component that can be integrated with any project.

Awesome Lists containing this project

README

        

# Custom Chatbot

## Before You Start
### For Local Development
- Download LM Studio [link](https://lmstudio.ai/)
- (Optional) Download lms CLI tool
- - For Windows, Open Command Prompt and run
```bash
cmd /c %USERPROFILE%/.cache/lm-studio/bin/lms.exe bootstrap
```
- - For Linux/macOS, Open terminal and run
```bash
~/.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
```bash
cd chatassitant
npm install
```
create an environment file to store api keys
For example,
if using the CLI type
```bash
touch .env
```
and add
```OPENAI_API_KEY= ```

## Run It!
```bash
npm run dev
```

## Congratulations Your All Done!