使用云服务创建的应用,查询内容的字数限制在哪里配置? #173

Closed
opened 2026-02-21 17:26:14 -05:00 by yindo · 1 comment
Owner

Originally created by @minixalpha on GitHub (Jun 15, 2023).

使用云服务部署了一个文本生成应用,模型使用了 gpt-3.5-turbo,最大 token 4000,但应用的“查询内容” 超过 90 个汉字,就提示 "Query is too long",请问在哪里配置查询内容的字数限制?

Originally created by @minixalpha on GitHub (Jun 15, 2023). 使用云服务部署了一个文本生成应用,模型使用了 gpt-3.5-turbo,最大 token 4000,但应用的“查询内容” 超过 90 个汉字,就提示 "Query is too long",请问在哪里配置查询内容的字数限制?
yindo closed this issue 2026-02-21 17:26:14 -05:00
Author
Owner

@crazywoola commented on GitHub (Jun 16, 2023):

Total Token = Max Token + query
You need to adjust max token to a smaller one eg: 2000

@crazywoola commented on GitHub (Jun 16, 2023): Total Token = Max Token + query You need to adjust max token to a smaller one eg: 2000
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#173