Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 支持在配置文件自定义OpenAI模型 #246

Merged
merged 2 commits into from
Jun 28, 2023

Conversation

Leizhenpeng
Copy link
Member

描述

feat: 支持在配置文件自定义OpenAI模型

# openAI model 指定模型,默认为 gpt-3.5-turbo
# 可选参数有:"gpt-4-0314", "gpt-4", "gpt-3.5-turbo-0301","gpt-3.5-turbo-16k", "gpt-3.5-turbo",如果使用gpt-4,请确认自己是否有接口调用白名单
OPENAI_MODEL: gpt-3.5-turbo

# openAI 最大token数 默认为2000
OPENAI_MAX_TOKENS: 2000

相关问题

@Leizhenpeng Leizhenpeng merged commit 699f434 into master Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚰 部署问题反馈: docker-compose.yaml 部署docker时能否修改成gpt-4模型?
1 participant