Spaces:
Runtime error
Runtime error
Update config/config.yaml
#2
by
Truxton
- opened
- config/config.yaml +2 -2
config/config.yaml
CHANGED
|
@@ -10,7 +10,7 @@
|
|
| 10 |
## Or, you can configure OPENAI_PROXY to access official OPENAI_BASE_URL.
|
| 11 |
OPENAI_BASE_URL: "https://api.openai.com/v1"
|
| 12 |
#OPENAI_PROXY: "http://127.0.0.1:8118"
|
| 13 |
-
|
| 14 |
OPENAI_API_MODEL: "gpt-4-1106-preview"
|
| 15 |
MAX_TOKENS: 4096
|
| 16 |
RPM: 10
|
|
@@ -37,7 +37,7 @@ RPM: 10
|
|
| 37 |
|
| 38 |
#### if Google Gemini from `https://ai.google.dev/` and API_KEY from `https://makersuite.google.com/app/apikey`.
|
| 39 |
#### You can set here or export GOOGLE_API_KEY="YOUR_API_KEY"
|
| 40 |
-
|
| 41 |
|
| 42 |
#### if use self-host open llm model with openai-compatible interface
|
| 43 |
#OPEN_LLM_API_BASE: "http://127.0.0.1:8000/v1"
|
|
|
|
| 10 |
## Or, you can configure OPENAI_PROXY to access official OPENAI_BASE_URL.
|
| 11 |
OPENAI_BASE_URL: "https://api.openai.com/v1"
|
| 12 |
#OPENAI_PROXY: "http://127.0.0.1:8118"
|
| 13 |
+
OPENAI_API_KEY: "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" # set the value to sk-xxx if you host the openai interface for open llm model
|
| 14 |
OPENAI_API_MODEL: "gpt-4-1106-preview"
|
| 15 |
MAX_TOKENS: 4096
|
| 16 |
RPM: 10
|
|
|
|
| 37 |
|
| 38 |
#### if Google Gemini from `https://ai.google.dev/` and API_KEY from `https://makersuite.google.com/app/apikey`.
|
| 39 |
#### You can set here or export GOOGLE_API_KEY="YOUR_API_KEY"
|
| 40 |
+
GEMINI_API_KEY: "AIzaSyCtzEffTU9IrhE9WD-oy_TSb4N9xfH8FFE"
|
| 41 |
|
| 42 |
#### if use self-host open llm model with openai-compatible interface
|
| 43 |
#OPEN_LLM_API_BASE: "http://127.0.0.1:8000/v1"
|