浏览代码

fix: gpt-3.5-turbo-instruct context size to 8192 (#1196)

tags/0.3.23
takatost 2 年前
父节点
当前提交
435f804c6f
没有帐户链接到提交者的电子邮件

+ 1
- 1
api/core/model_providers/models/llm/openai_model.py 查看文件

'gpt-4': 8192, 'gpt-4': 8192,
'gpt-4-32k': 32768, 'gpt-4-32k': 32768,
'gpt-3.5-turbo': 4096, 'gpt-3.5-turbo': 4096,
'gpt-3.5-turbo-instruct': 4096,
'gpt-3.5-turbo-instruct': 8192,
'gpt-3.5-turbo-16k': 16384, 'gpt-3.5-turbo-16k': 16384,
'text-davinci-003': 4097, 'text-davinci-003': 4097,
} }

+ 1
- 1
api/core/model_providers/providers/openai_provider.py 查看文件

'gpt-4': 8192, 'gpt-4': 8192,
'gpt-4-32k': 32768, 'gpt-4-32k': 32768,
'gpt-3.5-turbo': 4096, 'gpt-3.5-turbo': 4096,
'gpt-3.5-turbo-instruct': 4096,
'gpt-3.5-turbo-instruct': 8192,
'gpt-3.5-turbo-16k': 16384, 'gpt-3.5-turbo-16k': 16384,
'text-davinci-003': 4097, 'text-davinci-003': 4097,
} }

正在加载...
取消
保存