Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/justinhennis1/chatassistant
- Owner: JustinHennis1
- Created: 2024-08-08T04:35:00.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-08T04:42:29.000Z (3 months ago)
- Last Synced: 2024-10-17T21:10:45.671Z (29 days ago)
- Topics: assistant-chat-bots, chatbot, llama3, llm, lm-studio, nextjs
- Language: JavaScript
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!