|
|
@ -17,7 +17,7 @@ export interface Answer {
|
|
|
|
answer: string;
|
|
|
|
answer: string;
|
|
|
|
query: string;
|
|
|
|
query: string;
|
|
|
|
result: string;
|
|
|
|
result: string;
|
|
|
|
sources: { title: string; text: string }[];
|
|
|
|
sources: { title: string; text: string; source: string }[];
|
|
|
|
conversationId: string | null;
|
|
|
|
conversationId: string | null;
|
|
|
|
title: string | null;
|
|
|
|
title: string | null;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -27,7 +27,7 @@ export interface Query {
|
|
|
|
response?: string;
|
|
|
|
response?: string;
|
|
|
|
feedback?: FEEDBACK;
|
|
|
|
feedback?: FEEDBACK;
|
|
|
|
error?: string;
|
|
|
|
error?: string;
|
|
|
|
sources?: { title: string; text: string }[];
|
|
|
|
sources?: { title: string; text: string; source: string }[];
|
|
|
|
conversationId?: string | null;
|
|
|
|
conversationId?: string | null;
|
|
|
|
title?: string | null;
|
|
|
|
title?: string | null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|