fix: change to backend doc extractor

This commit is contained in:
Joel 2024-09-18 17:35:14 +08:00
parent f5d1f5a20a
commit 4dbf56675a
10 changed files with 8 additions and 8 deletions

View File

@ -15,7 +15,7 @@ import VariableAssignerDefault from './nodes/variable-assigner/default'
import AssignerDefault from './nodes/assigner/default'
import EndNodeDefault from './nodes/end/default'
import IterationDefault from './nodes/iteration/default'
import DocExtractorDefault from './nodes/doc-extractor/default'
import DocExtractorDefault from './nodes/document-extractor/default'
import ListFilterDefault from './nodes/list-filter/default'
import IterationStartDefault from './nodes/iteration-start/default'

View File

@ -30,8 +30,8 @@ import ParameterExtractorNode from './parameter-extractor/node'
import ParameterExtractorPanel from './parameter-extractor/panel'
import IterationNode from './iteration/node'
import IterationPanel from './iteration/panel'
import DocExtractorNode from './doc-extractor/node'
import DocExtractorPanel from './doc-extractor/panel'
import DocExtractorNode from './document-extractor/node'
import DocExtractorPanel from './document-extractor/panel'
import ListFilterNode from './list-filter/node'
import ListFilterPanel from './list-filter/panel'

View File

@ -26,7 +26,7 @@ export enum BlockEnum {
Tool = 'tool',
ParameterExtractor = 'parameter-extractor',
Iteration = 'iteration',
DocExtractor = 'doc-extractor',
DocExtractor = 'document-extractor',
ListFilter = 'list-filter',
IterationStart = 'iteration-start',
Assigner = 'assigner', // is now named as VariableAssigner

View File

@ -225,7 +225,7 @@ const translation = {
'iteration-start': 'Iteration Start',
'iteration': 'Iteration',
'parameter-extractor': 'Parameter Extractor',
'doc-extractor': 'Doc Extractor',
'document-extractor': 'Doc Extractor',
'list-filter': 'List Filter',
},
blocksAbout: {
@ -244,7 +244,7 @@ const translation = {
'variable-aggregator': 'Aggregate multi-branch variables into a single variable for unified configuration of downstream nodes.',
'iteration': 'Perform multiple steps on a list object until all results are outputted.',
'parameter-extractor': 'Use LLM to extract structured parameters from natural language for tool invocations or HTTP requests.',
'doc-extractor': 'doc-extractor TODO',
'document-extractor': 'document-extractor TODO',
'list-filter': 'List Filter TODO',
},
operator: {

View File

@ -225,7 +225,7 @@ const translation = {
'iteration-start': '迭代开始',
'iteration': '迭代',
'parameter-extractor': '参数提取器',
'doc-extractor': '文档提取器',
'document-extractor': '文档提取器',
'list-filter': '列表过滤器',
},
blocksAbout: {
@ -244,7 +244,7 @@ const translation = {
'variable-aggregator': '将多路分支的变量聚合为一个变量,以实现下游节点统一配置。',
'iteration': '对列表对象执行多次步骤直至输出所有结果。',
'parameter-extractor': '利用 LLM 从自然语言内推理提取出结构化参数,用于后置的工具调用或 HTTP 请求。',
'doc-extractor': 'doc-extractor TODO',
'document-extractor': 'document-extractor TODO',
'list-filter': 'List Filter TODO',
},
operator: {