mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Fix configure openai processor for khoj docker
Store khoj search models and embeddings in default location in docker container under /root/.khoj
This commit is contained in:
parent
dffbfee62b
commit
28df08b907
2 changed files with 3 additions and 5 deletions
|
@ -45,9 +45,7 @@ processor:
|
|||
conversation:
|
||||
conversation-logfile: "/data/embeddings/conversation_logs.json"
|
||||
enable-offline-chat: false
|
||||
openai:
|
||||
api-key: null
|
||||
chat-model: "chat-gpt-3.5"
|
||||
openai: null
|
||||
|
||||
app:
|
||||
should_log_telemetry: true
|
||||
|
|
|
@ -22,7 +22,7 @@ services:
|
|||
- ./tests/data/pdf/:/data/pdf/
|
||||
# Embeddings and models are populated after the first run
|
||||
# You can set these volumes to point to empty directories on host
|
||||
- ./tests/data/embeddings/:/data/embeddings/
|
||||
- ./tests/data/models/:/data/models/
|
||||
- ./tests/data/embeddings/:/root/.khoj/content/
|
||||
- ./tests/data/models/:/root/.khoj/search/
|
||||
# Use 0.0.0.0 to explicitly set the host ip for the service on the container. https://pythonspeed.com/articles/docker-connection-refused/
|
||||
command: --host="0.0.0.0" --port=42110 -c=config/khoj_docker.yml -vv
|
||||
|
|
Loading…
Reference in a new issue