(feat:attach) show files on conversations

This commit is contained in:
ManishMadan2882
2025-03-28 18:13:24 +05:30
parent 5089d86095
commit 45083d29a6
3 changed files with 48 additions and 9 deletions

View File

@@ -29,11 +29,12 @@ export interface Query {
prompt: string;
response?: string;
feedback?: FEEDBACK;
error?: string;
conversationId?: string | null;
title?: string | null;
sources?: { title: string; text: string; source: string }[];
tool_calls?: ToolCallsType[];
error?: string;
attachments?: { fileName: string; id: string }[];
}
export interface RetrievalPayload {
@@ -47,4 +48,5 @@ export interface RetrievalPayload {
token_limit: number;
isNoneDoc: boolean;
index?: number;
attachments?: string[];
}