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

新增加知识库测试能力 #302

Merged
merged 10 commits into from
May 10, 2023
Merged

Conversation

sysalong
Copy link
Collaborator

新知识库测试能力,可以随意设定任意值,随意录入单段内容。找到属于自己的最佳的参数配置。比如分段150、上下文连接2条之内、相似度得分在500之内等。方方便查找出最佳的知识库内容送模型。

sysalong and others added 10 commits May 5, 2023 17:53
统一webui、API接口知识库路径,后续路径如下:
知识库路经就是:/项目代码文件夹/vector_store/'知识库名字'
文件存放路经:/项目代码文件夹/content/'知识库名字'

修复通过api接口创建知识库的BUG,完善API接口功能。
把推荐的Lora权重删除掉,那个lora涉嫌敌对中国
优化API接口,知识库非必须选项。
完善模型top_p参数
API接口知识库非必须加载项
完善模型top_p参数。
新增知识库测试功能,可以随意设定任意值,随意录入单段内容。 找出属于自己的 最优的 参数配置。比如 分段150、上下文连接2条之内、相似度分值在500之内 等等。方便查找出最优的知识库内容送给模型。
@imClumsyPanda imClumsyPanda merged commit 55504fc into chatchat-space:master May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants