-
Notifications
You must be signed in to change notification settings - Fork 53
/
config.sample.toml
33 lines (25 loc) · 1.14 KB
/
config.sample.toml
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
# Uncomment to enable GPT rewrite by OpenAI (exclude Azure)
[openai]
# Find the params of openai.OpenAI(...) from https://github.com/openai/openai-python
# Set up your OpenAI API key, otherwise it will be read from the OPENAI_API_KEY environment variable
# api_key = ""
# Set up your OpenAI API base, otherwise it will be read from the OPENAI_API_BASE environment variable or default to https://api.openai.com/v1
# base_url = "https://api.openai.com/v1"
#=====================================
# Uncomment to enable GPT rewrite by Azure OpenAI
# [azure_opeai]
# Find the params of openai.AzureOpenAI(...) from https://github.com/openai/openai-python
# Set Azure OpenAI endpoint
# azure_endpoint = ""
# Set up your Azure deployment id
# azure_deployment = ""
#=====================================
# Uncomment to add additional arguments to the OpenAI API call
[openai_args]
# Find the params of openai.OpenAI.chat.completions.create(...) from https://github.com/openai/openai-python
# OpenAI model to use
model = "gpt-4-1106-preview"
#=====================================
# Uncomment to enable prompt revise by Google Gemini
# [google_gemini]
# api_key = ""