Chatbot Ollama is an open source chat UI for Ollama.
This project is based on chatbot-ui by Mckay Wrigley.
Chatbot Ollama will be updated over time.
- pull a model
- delete a model
- show model information
Build locally:
docker build -t chatbot-ollama .
docker run -p 3000:3000 chatbot-ollamaPull from ghcr:
docker run -p 3000:3000 ghcr.io/ivanfioravanti/chatbot-ollama:maingit clone https://github.com/ivanfioravanti/chatbot-ollama.gitcd chatbot-ollamanpm ciEither via the cli:
ollama serveor via the desktop client
npm run devYou should be able to start chatting.
When deploying the application, the following environment variables can be set:
| Environment Variable | Default value | Description |
|---|---|---|
| DEFAULT_MODEL | mistral: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 |
If you have any questions, feel free to reach out to me on X.