mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: Show prompt send to LLM for assistant answer #2098 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -68,6 +68,8 @@ export interface Message {
|
||||
content: string;
|
||||
role: MessageType;
|
||||
doc_ids?: string[];
|
||||
prompt?: string;
|
||||
id?: string;
|
||||
}
|
||||
|
||||
export interface IReference {
|
||||
@ -80,6 +82,8 @@ export interface IAnswer {
|
||||
answer: string;
|
||||
reference: IReference;
|
||||
conversationId?: string;
|
||||
prompt?: string;
|
||||
id?: string;
|
||||
}
|
||||
|
||||
export interface Docagg {
|
||||
|
||||
Reference in New Issue
Block a user