We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如题,dify的segment支持了keywords填入,但是搜索的时候,并不会搜索keywords, 而是只匹配了content
The text was updated successfully, but these errors were encountered:
Hey @ershixiong89! 👋 I'm here to help you with any bugs, questions, or contributions while you wait for a human maintainer.
目前在 DatasetDocumentSegmentListApi 类的 get 方法中,关键词过滤器仅适用于 content 字段,而不包括 keywords 字段。虽然 DocumentSegment 模型支持 keywords 字段的填入,但在搜索时并没有对 keywords 字段进行匹配。根据现有信息,keywords 字段在 JSON 响应中是一个字符串数组,每个字符串代表与文档块相关的一个关键词 [1]。如果需要在搜索中包含 keywords 字段的匹配,可能需要对现有的过滤逻辑进行修改。
DatasetDocumentSegmentListApi
get
content
keywords
DocumentSegment
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other
Sorry, something went wrong.
No branches or pull requests
如题,dify的segment支持了keywords填入,但是搜索的时候,并不会搜索keywords, 而是只匹配了content
The text was updated successfully, but these errors were encountered: