mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 00:53:14 +00:00
Sources in responses
This commit is contained in:
@@ -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 }[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user