代码拉取完成,页面将自动刷新
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.
Build locally:
docker build -t chatbot-ollama .
docker run -p 3000:3000 chatbot-ollama
Pull from ghcr:
docker run -p 3000:3000 ghcr.io/ivanfioravanti/chatbot-ollama:main
git clone https://github.com/ivanfioravanti/chatbot-ollama.git
npm ci
Either via the cli:
ollama serve
or via the desktop client
npm run dev
You 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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。