Update env sample file for Azure
Browse files- env.example +8 -2
env.example
CHANGED
@@ -77,14 +77,17 @@ MAX_ASYNC=4
|
|
77 |
### MAX_TOKENS: max tokens send to LLM for entity relation summaries (less than context size of the model)
|
78 |
### MAX_TOKENS: set as num_ctx option for Ollama by API Server
|
79 |
MAX_TOKENS=32768
|
80 |
-
### LLM Binding type: openai, ollama, lollms
|
81 |
LLM_BINDING=openai
|
82 |
LLM_MODEL=gpt-4o
|
83 |
LLM_BINDING_HOST=https://api.openai.com/v1
|
84 |
LLM_BINDING_API_KEY=your_api_key
|
|
|
|
|
|
|
85 |
|
86 |
### Embedding Configuration
|
87 |
-
### Embedding Binding type: openai, ollama, lollms
|
88 |
EMBEDDING_BINDING=ollama
|
89 |
EMBEDDING_MODEL=bge-m3:latest
|
90 |
EMBEDDING_DIM=1024
|
@@ -97,6 +100,9 @@ EMBEDDING_BINDING_HOST=http://localhost:11434
|
|
97 |
# EMBEDDING_FUNC_MAX_ASYNC=16
|
98 |
### Maximum tokens sent to Embedding for each chunk (no longer in use?)
|
99 |
# MAX_EMBED_TOKENS=8192
|
|
|
|
|
|
|
100 |
|
101 |
### Data storage selection
|
102 |
# LIGHTRAG_KV_STORAGE=PGKVStorage
|
|
|
77 |
### MAX_TOKENS: max tokens send to LLM for entity relation summaries (less than context size of the model)
|
78 |
### MAX_TOKENS: set as num_ctx option for Ollama by API Server
|
79 |
MAX_TOKENS=32768
|
80 |
+
### LLM Binding type: openai, ollama, lollms, azure_openai
|
81 |
LLM_BINDING=openai
|
82 |
LLM_MODEL=gpt-4o
|
83 |
LLM_BINDING_HOST=https://api.openai.com/v1
|
84 |
LLM_BINDING_API_KEY=your_api_key
|
85 |
+
### Optional for Azure
|
86 |
+
# AZURE_OPENAI_API_VERSION=2024-08-01-preview
|
87 |
+
# AZURE_OPENAI_DEPLOYMENT=gpt-4o
|
88 |
|
89 |
### Embedding Configuration
|
90 |
+
### Embedding Binding type: openai, ollama, lollms, azure_openai
|
91 |
EMBEDDING_BINDING=ollama
|
92 |
EMBEDDING_MODEL=bge-m3:latest
|
93 |
EMBEDDING_DIM=1024
|
|
|
100 |
# EMBEDDING_FUNC_MAX_ASYNC=16
|
101 |
### Maximum tokens sent to Embedding for each chunk (no longer in use?)
|
102 |
# MAX_EMBED_TOKENS=8192
|
103 |
+
### Optional for Azure
|
104 |
+
# AZURE_EMBEDDING_DEPLOYMENT=text-embedding-3-large
|
105 |
+
# AZURE_EMBEDDING_API_VERSION=2023-05-15
|
106 |
|
107 |
### Data storage selection
|
108 |
# LIGHTRAG_KV_STORAGE=PGKVStorage
|