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: support change model #12

Merged
merged 2 commits into from
Jun 29, 2023
Merged

feat: support change model #12

merged 2 commits into from
Jun 29, 2023

Conversation

Leizhenpeng
Copy link
Member

@Leizhenpeng Leizhenpeng commented Jun 29, 2023

feature

  1. support custom openai model
# openAI model :"gpt-4-0314", "gpt-4", "gpt-3.5-turbo-0301","gpt-3.5-turbo-16k", "gpt-3.5-turbo"
# default: gpt-3.5-turbo
# If you use gpt-4, please confirm whether you have an interface call whitelist
OPENAI_MODEL: gpt-3.5-turbo

# openAI Max tokens default:2000
OPENAI_MAX_TOKENS: 2000
  1. simulate the effect of Chat GPT web
"You are ChatGPT, a large language model trained by OpenAI. Answer in user's language as concisely as possible. Knowledge cutoff: {knowledge_cutoff} Current date: {current_date}"

@Leizhenpeng Leizhenpeng merged commit ebfd787 into master Jun 29, 2023
1 check passed
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.

1 participant