This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
// OpenAI API Key
export const OPENAI_API_KEY = "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";
// 对话模型 目前只有高于3.5以上才支持上下文对话
export const GPT_MODEL = "gpt-3.5-turbo";
// 指定降低重复单词出现概率的程度,范围是0到1,越高表示越避免重复。
export const FREQUENCY_PENALTY = 0;
// 指定要生成的最大单词数,不能超过2048
export const MAX_TOKENS = 1000;
// 指定降低重复话题出现概率的程度,范围是0到1,越高表示越避免重复。
export const PRESENCE_PENALTY = 0;
// 指定生成文本的随机性,范围是0到2,越高表示越多样化和创造性,越低表示越保守和确定性。
export const TEMPERATURE = 1;
// 指定在每个步骤中保留概率最高的单词的比例,范围是0到1,与temperature类似,但更加灵活和稳健。
export const TOP_P = 1;