Commit 7b5458ea by Archer Committed by GitHub

fix(dataset): translate image parse node response (#7331)

parent 9601a1a8
......@@ -81,7 +81,7 @@ export const createImageCaptionChildNodeResponse = ({
requestIds,
usage,
seconds,
moduleName: i18nT('account_usage:image_parse'),
moduleName: i18nT('chat:image_parse'),
textOutput: queries.join('\n')
});
......
......@@ -441,7 +441,7 @@ describe('dispatchAgentDatasetSearch', () => {
expect(result.nodeResponse?.childrenResponses).toEqual([
expect.objectContaining({
id: 'req_image_caption',
moduleName: 'account_usage:image_parse',
moduleName: 'chat:image_parse',
llmRequestIds: ['req_image_caption'],
totalPoints: 0.12,
textOutput: 'image caption'
......
......@@ -267,7 +267,7 @@ describe('dispatchDatasetSearch', () => {
id: 'req_image_caption_1',
nodeId: 'req_image_caption_1',
moduleType: FlowNodeTypeEnum.datasetSearchNode,
moduleName: 'account_usage:image_parse',
moduleName: 'chat:image_parse',
moduleLogo: 'core/workflow/template/datasetSearch',
runningTime: 1.5,
model: 'gpt-vision name',
......
......@@ -52,6 +52,7 @@
"home.chat_app": "HomeChat-{{name}}",
"home.select_tools": "Select Tool",
"home.tools": "Tool: {{num}}",
"image_parse": "Image parsing",
"in_progress": "In Progress",
"input_guide": "Input Guide",
"input_placeholder_phone": "Please enter your question",
......
......@@ -52,6 +52,7 @@
"home.chat_app": "首页聊天",
"home.select_tools": "选择工具",
"home.tools": "工具:{{num}}",
"image_parse": "图片解析",
"in_progress": "进行中",
"input_guide": "输入引导",
"input_placeholder_phone": "发消息给FastGPT",
......
......@@ -52,6 +52,7 @@
"home.chat_app": "首页聊天",
"home.select_tools": "選擇工具",
"home.tools": "工具:{{num}}",
"image_parse": "圖片解析",
"in_progress": "進行中",
"input_guide": "輸入導引",
"input_placeholder_phone": "請輸入問題",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment