mirror of
https://github.com/Canner/WrenAI.git
synced 2026-10-25 10:20:15 +08:00
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
## LLM
|
|
LLM_PROVIDER=openai_llm # openai_llm, azure_openai_llm, ollama_llm
|
|
GENERATION_MODEL=gpt-4o
|
|
GENERATION_MODEL_KWARGS={"temperature": 0, "n": 1, "max_tokens": 4096, "response_format": {"type": "json_object"}}
|
|
|
|
# openai or openai-api-compatible
|
|
LLM_OPENAI_API_KEY=sk-xxxx
|
|
LLM_OPENAI_API_BASE=https://api.openai.com/v1
|
|
|
|
# azure_openai
|
|
LLM_AZURE_OPENAI_API_KEY=
|
|
LLM_AZURE_OPENAI_API_BASE=
|
|
LLM_AZURE_OPENAI_VERSION=
|
|
|
|
# ollama
|
|
LLM_OLLAMA_URL=http://host.docker.internal:11434
|
|
|
|
|
|
## EMBEDDER
|
|
EMBEDDER_PROVIDER=openai_embedder # openai_embedder, azure_openai_embedder, ollama_embedder
|
|
# supported embedding models providers by qdrant: https://qdrant.tech/documentation/embeddings/
|
|
EMBEDDING_MODEL=text-embedding-3-large
|
|
EMBEDDING_MODEL_DIMENSION=3072
|
|
|
|
# openai or openai-api-compatible
|
|
EMBEDDER_OPENAI_API_KEY=sk-xxxx
|
|
EMBEDDER_OPENAI_API_BASE=https://api.openai.com/v1
|
|
|
|
# azure_openai
|
|
EMBEDDER_AZURE_OPENAI_API_KEY=
|
|
EMBEDDER_AZURE_OPENAI_API_BASE=
|
|
EMBEDDER_AZURE_OPENAI_VERSION=
|
|
|
|
# ollama
|
|
EMBEDDER_OLLAMA_URL=http://host.docker.internal:11434
|
|
|
|
|
|
## DOCUMENT_STORE
|
|
DOCUMENT_STORE_PROVIDER=qdrant
|
|
|
|
QDRANT_HOST=qdrant
|