fix: type error

This commit is contained in:
Siddhant Rai
2024-05-30 15:33:16 +05:30
parent 91d730a7bc
commit f1ed1e0f14

View File

@@ -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;
}