perf: ai-chat-node: Improve the performance of reading data#6222
Open
wangliang181230 wants to merge 1 commit into
Open
perf: ai-chat-node: Improve the performance of reading data#6222wangliang181230 wants to merge 1 commit into
ai-chat-node: Improve the performance of reading data#6222wangliang181230 wants to merge 1 commit into
Conversation
wangliang181230
commented
Jun 14, 2026
| self.content = content | ||
| self.title = title | ||
| self.status = status, | ||
| self.status = status |
Contributor
Author
There was a problem hiding this comment.
顺便修复个BUG,status, 是 tuple 类型的数据,等于 (status,) 不是 status
0a7ed9f to
6f67b28
Compare
6f67b28 to
2624692
Compare
wangliang181230
commented
Jun 14, 2026
| is_active, 3, 0.65, SearchMode.embedding | ||
| ) | ||
| return result[0] | ||
| return result[0] if result else None |
Contributor
Author
There was a problem hiding this comment.
query 方法的参数数量都没对上。
不过查了下源码,BaseVectorStore.search(...) 方法好像没有地方在调用。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
perf:
ai-chat-node: Improve the performance of reading dataAI 对话节点:提升读取数据的性能。