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:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user