Support separate embedding base URL

This commit is contained in:
Dustin Persek 2026-07-05 22:33:09 -04:00
parent aa7388f2f7
commit 6fafedca6a
8 changed files with 160 additions and 6 deletions

View file

@ -214,6 +214,10 @@ COMPOSIO_REDIRECT_URI=http://localhost:8000/api/v1/auth/composio/connector/callb
# # Get Cohere embeddings
# embeddings = AutoEmbeddings.get_embeddings("cohere://embed-english-light-v3.0", api_key="...")
EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
# Optional: use a separate endpoint for Chonkie/LiteLLM embedding models, for
# example EMBEDDING_MODEL=litellm://ollama/nomic-embed-text.
# EMBEDDING_BASE_URL=http://host.docker.internal:11434
# OLLAMA_EMBEDDING_BASE_URL=http://host.docker.internal:11434
# Rerankers Config
RERANKERS_ENABLED=TRUE or FALSE(Default: FALSE)