mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 15:06:50 +08:00
### What problem does this PR solve? Feature: Added global variable functionality ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -45,6 +45,7 @@ export interface DSL {
|
||||
messages?: Message[];
|
||||
reference?: IReference[];
|
||||
globals: Record<string, any>;
|
||||
variables: Record<string, GobalVariableType>;
|
||||
retrieval: IReference[];
|
||||
}
|
||||
|
||||
@ -283,3 +284,10 @@ export interface IPipeLineListRequest {
|
||||
desc?: boolean;
|
||||
canvas_category?: AgentCategory;
|
||||
}
|
||||
|
||||
export interface GobalVariableType {
|
||||
name: string;
|
||||
value: any;
|
||||
description: string;
|
||||
type: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user