frontend: adapting to migration

This commit is contained in:
ManishMadan2882
2024-08-14 17:15:20 +05:30
parent deeffbf77d
commit 0891ef6d0a
6 changed files with 94 additions and 97 deletions

View File

@@ -31,3 +31,13 @@ export interface Query {
conversationId?: string | null;
title?: string | null;
}
export interface RetrievalPayload {
question: string;
active_docs?: string;
retriever?: string;
history: string;
conversation_id: string | null;
prompt_id?: string | null;
chunks: string;
token_limit: number;
}