Feat: Display file references for agent dialogues #3221 (#8854)

### What problem does this PR solve?

Feat: Display file references for agent dialogues #3221
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-07-15 17:30:45 +08:00
committed by GitHub
parent e9b14142a5
commit faebb519f7
10 changed files with 477 additions and 69 deletions

View File

@ -96,6 +96,11 @@ export interface IReference {
total: number;
}
export interface IReferenceObject {
chunks: Record<string, IReferenceChunk>;
doc_aggs: Record<string, Docagg>;
}
export interface IAnswer {
answer: string;
reference?: IReference;