mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-11-30 16:02:58 +08:00
feat: 完善问问微信查询理解与检索链路
This commit is contained in:
1 parent
7554de7d72
commit
facc292443
14 files changed
+1107
-66
No files matched your search
@@ -7,7 +7,7 @@
|
||||
export const KNOWLEDGE_SCHEMA_VERSION = 1
|
||||
export const DEFAULT_CHUNKER_VERSION = 'conversation-v1'
|
||||
|
||||
export type KnowledgeMessageKind = 'text' | 'voice' | 'file' | 'link' | 'system' | 'other'
|
||||
export type KnowledgeMessageKind = 'text' | 'voice' | 'file' | 'link' | 'image' | 'video' | 'sticker' | 'system' | 'other'
|
||||
export type KnowledgeIndexPhase =
|
||||
| 'idle'
|
||||
| 'preflight'
|
||||
@@ -210,6 +210,7 @@ export interface KnowledgeQuery {
|
||||
/** Unix epoch milliseconds. */
|
||||
endTime?: number
|
||||
temporalIntent?: KnowledgeTemporalIntent
|
||||
conversationBoundary?: 'first' | 'last'
|
||||
}
|
||||
|
||||
export interface KnowledgeSearchRequest extends KnowledgeQuery {
|
||||
@@ -299,6 +300,7 @@ export interface KnowledgeSearchIpcRequest {
|
||||
senderIds?: string[]
|
||||
startTime?: number
|
||||
endTime?: number
|
||||
conversationBoundary?: 'first' | 'last'
|
||||
limit?: number
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user