From f1ed1e0f14db31f3212bb6084ae3c4d023fdd3a6 Mon Sep 17 00:00:00 2001 From: Siddhant Rai Date: Thu, 30 May 2024 15:33:16 +0530 Subject: [PATCH] fix: type error --- frontend/src/conversation/conversationModels.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/conversation/conversationModels.ts b/frontend/src/conversation/conversationModels.ts index 9fbd443..347a252 100644 --- a/frontend/src/conversation/conversationModels.ts +++ b/frontend/src/conversation/conversationModels.ts @@ -17,7 +17,7 @@ export interface Answer { answer: string; query: string; result: string; - sources: { title: string; text: string }[]; + sources: { title: string; text: string; source: string }[]; conversationId: string | null; title: string | null; } @@ -27,7 +27,7 @@ export interface Query { response?: string; feedback?: FEEDBACK; error?: string; - sources?: { title: string; text: string }[]; + sources?: { title: string; text: string; source: string }[]; conversationId?: string | null; title?: string | null; }