mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-05 08:06:02 +00:00
- Add .env.example with all HTTP embedding env vars documented - Early return in httpEmbed() for empty text arrays - Warn once if API returns vectors with different dimensions than GITNEXUS_EMBEDDING_DIMS — helps catch misconfiguration early
12 lines
493 B
Text
12 lines
493 B
Text
# GitNexus HTTP Embedding Configuration
|
|
# Copy to .env and uncomment to use a remote OpenAI-compatible endpoint
|
|
# instead of the local snowflake-arctic-embed-xs model.
|
|
# When unset, local embeddings are used unchanged.
|
|
|
|
# GITNEXUS_EMBEDDING_URL=http://your-server:8080/v1
|
|
# GITNEXUS_EMBEDDING_MODEL=BAAI/bge-large-en-v1.5
|
|
# GITNEXUS_EMBEDDING_DIMS=1024
|
|
# GITNEXUS_EMBEDDING_API_KEY=your-key
|
|
|
|
# Works with Infinity, vLLM, TEI, llama.cpp, Ollama, LM Studio, or OpenAI.
|
|
# See README for details.
|