Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]支持10000以上最多引用字符数 #603

Closed
cgdg3 opened this issue Jun 4, 2024 · 2 comments
Closed

[FEATURE]支持10000以上最多引用字符数 #603

cgdg3 opened this issue Jun 4, 2024 · 2 comments

Comments

@cgdg3
Copy link

cgdg3 commented Jun 4, 2024

MaxKB 版本

1.2.0

请描述您的需求或者改进建议

当前知识库搜索匹配后,允许提交的最多引用字符数是10000。如qwen plus api可以支持30k输入。希望将最多引用字符数设置为自定义输入模式。

请描述你建议的实现方案

最多引用字符数设置为自定义输入模式,可以填一个默认值(如5000),如果用户自己编辑,可以写一个自定义的正整数,如30000(30k),128000(128k)甚至更高。并给出提示,上下文长度支持能力由大模型限制,最大值不超过大模型允许的上下文长度。

附加信息

5d1484a0cd8cc5f8c1b7ead14ad1cd7

@baixin513
Copy link
Contributor

baixin513 commented Jun 5, 2024

感谢反馈,后续版本优化。 最大字符数调整为 10 万

@baixin513 baixin513 added this to the v1.2.1 milestone Jun 13, 2024
wangdan-fit2cloud added a commit that referenced this issue Jun 13, 2024
perf: 支持10000以上最多引用字符数(#603)(#628)
@baixin513
Copy link
Contributor

已在 v1.2.1版本调整为 10 万

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants