Skip to content

perf: ai-chat-node: Improve the performance of reading data#6222

Open
wangliang181230 wants to merge 1 commit into
1Panel-dev:v2from
wangliang181230:PR/55-perf-aiChat_loadDatas
Open

perf: ai-chat-node: Improve the performance of reading data#6222
wangliang181230 wants to merge 1 commit into
1Panel-dev:v2from
wangliang181230:PR/55-perf-aiChat_loadDatas

Conversation

@wangliang181230

Copy link
Copy Markdown
Contributor

perf: ai-chat-node: Improve the performance of reading data


AI 对话 节点:提升读取数据的性能。

self.content = content
self.title = title
self.status = status,
self.status = status

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

顺便修复个BUG,status,tuple 类型的数据,等于 (status,) 不是 status

@wangliang181230 wangliang181230 force-pushed the PR/55-perf-aiChat_loadDatas branch 2 times, most recently from 0a7ed9f to 6f67b28 Compare June 14, 2026 16:00
@wangliang181230 wangliang181230 force-pushed the PR/55-perf-aiChat_loadDatas branch from 6f67b28 to 2624692 Compare June 14, 2026 16:06
is_active, 3, 0.65, SearchMode.embedding
)
return result[0]
return result[0] if result else None

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

query 方法的参数数量都没对上。
不过查了下源码,BaseVectorStore.search(...) 方法好像没有地方在调用。

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.

1 participant