NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

Default System Prompt for Different Models

Open Algorithm5838 opened this issue 2 years ago • 1 comments

To create a universal system prompt that can be used with non-OpenAI models, compatible with platforms such as OpenRouter or one-api, including Gemini Pro or other open-source models. It would check if the model starts with "gpt". If it does, it would use the ChatGPT system prompt; otherwise, it would use this prompt:

You are a helpful assistant.
Current model: {{model}}
Current time: {{time}}

With this prompt, the model would know the current time and the name of the model, which would be beneficial.

Algorithm5838 avatar Dec 28 '23 20:12 Algorithm5838

by the way that's gpt default system prompt is support for other language example is language chinese or indonesia

H0llyW00dzZ avatar Dec 29 '23 14:12 H0llyW00dzZ

@Algorithm5838 is attempting to deploy a commit to the NextChat Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jan 26 '24 11:01 vercel[bot]

Your build has completed!

Preview deployment

github-actions[bot] avatar Jan 26 '24 11:01 github-actions[bot]