chore: switch to DeepSeek API + sentence-transformers for free deployment

- Replace OpenAI LLM with DeepSeek (deepseek-chat) via OpenAI-compatible client
- Replace OpenAI embeddings with local sentence-transformers (all-MiniLM-L6-v2)
- Pre-download embedding model during Docker build
- Add .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Power BI Dev
2026-06-04 09:04:21 +07:00
parent f62a711f5d
commit fddd3644ae
7 changed files with 27 additions and 15 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
TELEGRAM_BOT_TOKEN=isi_token_dari_botfather
OPENAI_API_KEY=isi_api_key_openai
OPENAI_MODEL=gpt-4o
OPENAI_EMBEDDING_MODEL=text-embedding-3-small
DEEPSEEK_API_KEY=isi_api_key_deepseek
DEEPSEEK_MODEL=deepseek-chat
ADMIN_TELEGRAM_ID=isi_telegram_id_anda
DB_PATH=/app/data/second_brain.db
CHROMA_PATH=/app/data/chromadb
UPLOAD_PATH=/app/data/uploads
EMBEDDING_MODEL=all-MiniLM-L6-v2