mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: Add input parameter to begin operator #3355 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -2859,3 +2859,23 @@ export const TuShareSrcOptions = [
|
||||
'jinrongjie',
|
||||
];
|
||||
export const CrawlerResultOptions = ['markdown', 'html', 'content'];
|
||||
|
||||
export enum BeginQueryType {
|
||||
Line = 'line',
|
||||
Paragraph = 'paragraph',
|
||||
Options = 'options',
|
||||
File = 'file',
|
||||
Integer = 'integer',
|
||||
Boolean = 'boolean',
|
||||
Url = 'url',
|
||||
}
|
||||
|
||||
export const BeginQueryTypeMap = {
|
||||
[BeginQueryType.Line]: 'input',
|
||||
[BeginQueryType.Paragraph]: 'textarea',
|
||||
[BeginQueryType.Options]: 'select',
|
||||
[BeginQueryType.File]: 'file',
|
||||
[BeginQueryType.Integer]: 'inputnumber',
|
||||
[BeginQueryType.Boolean]: 'switch',
|
||||
[BeginQueryType.Url]: 'input',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user