init project

This commit is contained in:
吴承霖 2023-06-30 17:10:48 +08:00
commit c871144507
204 changed files with 7220 additions and 0 deletions

20
config/config.yaml Normal file
View file

@ -0,0 +1,20 @@
# Do not modify here, create a new key.yaml, define OPENAI_API_KEY. The configuration of key.yaml has a higher priority and will not enter git
OPENAI_API_KEY: "YOUR_API_KEY"
#OPENAI_API_BASE: "YOUR_API_BASE"
OPENAI_API_MODEL: "gpt-4"
MAX_TOKENS: 1500
RPM: 10
## Visit https://serpapi.com/ to get key.
#SERPAPI_API_KEY: "YOUR_API_KEY"
#
## Visit https://console.cloud.google.com/apis/credentials to get key.
#GOOGLE_API_KEY: "YOUR_API_KEY"
## Visit https://programmablesearchengine.google.com/controlpanel/create to get id.
#GOOGLE_CSE_ID: "YOUR_CSE_ID"
#
#AZURE_OPENAI_KEY: "YOUR_API_KEY"
#AZURE_OPENAI_ENDPOINT: "YOUR_API_BASE"
#AZURE_DEPLOYMENT_NAME: "gpt-35"
#AZURE_OPENAI_API_VERSION: "2023-03-15-preview"