提问人:ScotterMonkey 提问时间:11/9/2023 最后编辑:ScotterMonkey 更新时间:11/11/2023 访问量:43
新的 OpenAI API 版本是否向后兼容访问/查询 GPT 3.5 Turbo?
Is the new OpenAI API version backward compatible for accessing/querying GPT 3.5 Turbo?
问:
新的 API 版本是否向后兼容访问/查询 GPT 3.5 Turbo?例如,包含以下针对新版本量身定制的代码是否仍适用于 3.5 Turbo?
client = OpenAI(api_key = get_key())
response = client.chat.completions.create(
model = model,
messages = messages,
max_tokens = max_tokens,
n = n,
stop = stop,
temperature = temperature,
frequency_penalty = frequency_penalty,
presence_penalty = presence_penalty
)
答: 暂无答案
评论