mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 15:06:50 +08:00
### What problem does this PR solve? Feat: Metadata in documents for improve the prompt #3690 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -24,6 +24,7 @@ export interface IDocumentInfo {
|
||||
type: string;
|
||||
update_date: string;
|
||||
update_time: number;
|
||||
meta_fields?: Record<string, any>;
|
||||
}
|
||||
|
||||
export interface IParserConfig {
|
||||
|
||||
@ -10,3 +10,8 @@ export interface IChangeParserRequestBody {
|
||||
doc_id: string;
|
||||
parser_config: IChangeParserConfigRequestBody;
|
||||
}
|
||||
|
||||
export interface IDocumentMetaRequestBody {
|
||||
documentId: string;
|
||||
meta: string; // json format string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user