-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.keys.ini.sample
More file actions
43 lines (37 loc) · 1.4 KB
/
.keys.ini.sample
File metadata and controls
43 lines (37 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Oblivion API Keys Configuration
# Copy this file to .keys.ini and fill in your credentials
#
# High Availability:
# - Azure_OpenAI and Azure_OpenAI_Endpoint_1 are equivalent (primary endpoint)
# - Azure_OpenAI_Endpoint_2 is the fallback endpoint (optional)
# - Generator and embedder can failover independently
# - On rate limit errors, the system automatically switches to fallback
[Azure_OpenAI]
# Primary endpoint (same as Azure_OpenAI_Endpoint_1)
api_key = your_azure_openai_api_key_here
azure_endpoint = https://your-resource-name.openai.azure.com/
api_version = 2024-12-01-preview
[Azure_OpenAI_Endpoint_1]
# Primary endpoint (explicit - same as Azure_OpenAI)
api_key = your_azure_openai_api_key_here
azure_endpoint = https://your-resource-name.openai.azure.com/
api_version = 2024-12-01-preview
[Azure_OpenAI_Endpoint_2]
# Fallback endpoint (optional - for high availability)
# Fill this in if you have a second Azure OpenAI resource
api_key = your_fallback_api_key_here
azure_endpoint = https://your-fallback-resource.openai.azure.com/
api_version = 2024-12-01-preview
[OpenAI]
# OpenAI API key (optional - for direct OpenAI API access)
api_key =
[OpenRouter]
# OpenRouter API key (optional - for OpenRouter access)
# Sign up at https://openrouter.ai/ and create an API key
api_key = sk-or-v1-your-openrouter-api-key-here
[Langfuse]
# Langfuse observability (optional)
public_key =
secret_key =
host =
enable = false