Google 公司自己的大语言模型Bard 在2024年2月8号更名为 Gemini,但是Gemini 1.5 发布的时候被 OpenAI 的 Sora 抢尽了风头,堪称 AI 界的「汪峰」,听说Gemini有超长上下文的能力,支持 100 万token 的上下文,这里我还没测试,有兴趣的同学可以测试一下
# Your openai api key. (required)
OPENAI_API_KEY=
# Access passsword, separated by comma. (optional)
# 设置自己想要的密码,防止滥用
CODE=***
# You can start service behind a proxy
PROXY_URL=http://localhost:7890
# (optional)
# Default: Empty
# Googel Gemini Pro API key, set if you want to use Google Gemini Pro API.
# 需要填写自己的Key
GOOGLE_API_KEY=A************************F8Y
# (optional)
# Default: https://generativelanguage.googleapis.com/
# Googel Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url.
GOOGLE_URL=
# Override openai api request base url. (optional)
# Default: https://api.openai.com
# Examples: http://your-openai-proxy.com
BASE_URL=
# Specify OpenAI organization ID.(optional)
# Default: Empty
OPENAI_ORG_ID=
# (optional)
# Default: Empty
# If you do not want users to use GPT-4, set this value to 1.
DISABLE_GPT4=
# (optional)
# Default: Empty
# If you do not want users to input their own API key, set this value to 1.
HIDE_USER_API_KEY=
# (optional)
# Default: Empty
# If you do want users to query balance, set this value to 1.
ENABLE_BALANCE_QUERY=
# (optional)
# Default: Empty
# If you want to disable parse settings from url, set this value to 1.
DISABLE_FAST_LINK=