feat(knowledge): add short-term ask memory
This commit is contained in:
@@ -126,6 +126,11 @@ export interface KnowledgeSearchResponse {
|
||||
usedSpaceCodes?: string[];
|
||||
noEvidence?: boolean;
|
||||
data?: unknown;
|
||||
conversationId?: string | null;
|
||||
contextVersion?: number | null;
|
||||
intent?: 'QA' | 'FILE' | 'VIDEO' | 'DATA_TOOL' | string;
|
||||
rewrittenQuery?: string;
|
||||
resources?: KnowledgeResource[];
|
||||
}
|
||||
|
||||
export interface KnowledgeMediaSelectedFile {
|
||||
@@ -144,6 +149,20 @@ export interface KnowledgeCitation {
|
||||
fragmentId?: number | null;
|
||||
}
|
||||
|
||||
export interface KnowledgeResource {
|
||||
attachmentId: number;
|
||||
title: string;
|
||||
type: 'FILE' | 'VIDEO';
|
||||
contentUrl: string;
|
||||
localUrl?: string;
|
||||
loading?: boolean;
|
||||
}
|
||||
|
||||
export interface KnowledgeConversationState {
|
||||
conversationId: string;
|
||||
contextVersion: number;
|
||||
}
|
||||
|
||||
export interface UnifiedKnowledgeResponse {
|
||||
requestId: string;
|
||||
queryText: string;
|
||||
@@ -154,6 +173,11 @@ export interface UnifiedKnowledgeResponse {
|
||||
promptVersion?: string | null;
|
||||
legacy?: KnowledgeSearchResponse | null;
|
||||
data?: unknown;
|
||||
conversationId?: string | null;
|
||||
contextVersion?: number | null;
|
||||
intent?: 'QA' | 'FILE' | 'VIDEO' | 'DATA_TOOL' | string;
|
||||
rewrittenQuery?: string;
|
||||
resources?: KnowledgeResource[];
|
||||
}
|
||||
|
||||
export interface CaseCapabilities {
|
||||
|
||||
Reference in New Issue
Block a user