feat(ai): integrate local Ollama AI for in-context sentence translation and caching (Task 13)
This commit is contained in:
1 parent
0c5951df8d
commit
37a1f1ab35
12 files changed
+605
-15
No files matched your search
@@ -15,4 +15,17 @@ services:
|
||||
- SECRET_KEY=study-qpid-pro-secret-key-change-in-prod
|
||||
- ADMIN_USERNAME=kopri
|
||||
- DB_PATH=/app/data/notes.db
|
||||
- OLLAMA_BASE_URL=http://ollama:11434
|
||||
depends_on:
|
||||
- ollama
|
||||
|
||||
ollama:
|
||||
image: ollama/ollama:latest
|
||||
container_name: study-ollama
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:11434:11434"
|
||||
volumes:
|
||||
- ./data/ollama:/root/.ollama
|
||||
environment:
|
||||
- OLLAMA_KEEP_ALIVE=5m
|
||||
Reference in new issue
Block a user