Sources in responses

This commit is contained in:
Alex
2023-06-11 22:56:34 +01:00
parent 577d58c92b
commit 610adcbefc
6 changed files with 147 additions and 78 deletions

View File

@@ -16,6 +16,7 @@ export interface Answer {
answer: string;
query: string;
result: string;
sources: { title: string; text: string }[];
}
export interface Query {
@@ -23,4 +24,5 @@ export interface Query {
response?: string;
feedback?: FEEDBACK;
error?: string;
sources?: { title: string; text: string }[];
}