show code js

2024年4月16日 星期二

AnythingLLM with Ollama

1.Install Ollama First

2.chroma install use docker

  • PS>> docker pull ghcr.io/chroma-core/chroma:0.4.24
  • PS>> docker run -p 8000:8000 ghcr.io/chroma-core/chroma:0.4.24

3.anythingllm install use docker

  • create directory C:/anythingllm/storage and file C:/anythingllm/env.txt
  • PS>> docker run -d -p 3001:3001 --cap-add SYS_ADMIN -v C:/anythingllm/storage:/app/server/storage -v C:/anythingllm/env.txt:/app/server/.env -e STORAGE_DIR="/app/server/storage" --add-host=host.docker.internal:host-gateway --name anythingllm mintplexlabs/anythingllm
  • Open localhost:3001, and config llm setting to use http://host.docker.internal:11434

沒有留言:

張貼留言