mirror of
https://github.com/ivanfioravanti/chatbot-ollama.git
synced 2023-12-01 22:17:38 +03:00
6e1045b647356fd04b3293dcc83331d59df2e6bc
Chatbot Ollama
About
Chatbot Ollama is an open source chat UI for Ollama.
This project is based on chatbot-ui by Mckay Wrigley.
Updates
Chatbot Ollama will be updated over time.
Next up
- pull a model
- delete a model
- show model information
Docker
Build locally:
docker build -t chatbot-ollama .
docker run -p 3000:3000 chatbot-ollama
Pull from ghcr:
docker run -e -p 3000:3000 ghcr.io/ivanfioravanti/chatbot-ollama:main
Running Locally
1. Clone Repo
git clone https://github.com/ivanfioravanti/chatbot-ollama.git
2. Install Dependencies
npm i
4. Run App
npm run dev
5. Use It
You should be able to start chatting.
Configuration
When deploying the application, the following environment variables can be set:
| Environment Variable | Default value | Description |
|---|---|---|
| DEFAULT_MODEL | llama2:latest |
The default model to use on new conversations |
| NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT | see here | The default system prompt to use on new conversations |
| NEXT_PUBLIC_DEFAULT_TEMPERATURE | 1 | The default temperature to use on new conversations |
Contact
If you have any questions, feel free to reach out to me on X.
Languages
TypeScript
97.6%
JavaScript
1.2%
Dockerfile
0.5%
CSS
0.4%
Makefile
0.3%
