mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### 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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user