4.8.13 test (#3107)
* perf: select file * perf: drop files * fix: imple mode adapt files
This commit is contained in:
@@ -269,7 +269,7 @@ export const runToolWithToolChoice = async (
|
|||||||
},
|
},
|
||||||
toolModel
|
toolModel
|
||||||
);
|
);
|
||||||
// console.log(JSON.stringify(requestMessages, null, 2), '==requestBody');
|
// console.log(JSON.stringify(requestBody, null, 2), '==requestBody');
|
||||||
/* Run llm */
|
/* Run llm */
|
||||||
const ai = getAIApi({
|
const ai = getAIApi({
|
||||||
timeout: 480000
|
timeout: 480000
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"cron.every_month": "Run Monthly",
|
"cron.every_month": "Run Monthly",
|
||||||
"cron.every_week": "Run Weekly",
|
"cron.every_week": "Run Weekly",
|
||||||
"cron.interval": "Run at Intervals",
|
"cron.interval": "Run at Intervals",
|
||||||
|
"dataset_search_tool_description": "Call the \"Semantic Search\" and \"Full-text Search\" capabilities to find reference content that may be related to the problem from the \"Knowledge Base\". \nPrioritize calling this tool to assist in answering user questions.",
|
||||||
"day": "Day",
|
"day": "Day",
|
||||||
"document_quote": "Document Reference",
|
"document_quote": "Document Reference",
|
||||||
"document_quote_tip": "Usually used to accept user-uploaded document content (requires document parsing), and can also be used to reference other string data.",
|
"document_quote_tip": "Usually used to accept user-uploaded document content (requires document parsing), and can also be used to reference other string data.",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"cron.every_month": "每月执行",
|
"cron.every_month": "每月执行",
|
||||||
"cron.every_week": "每周执行",
|
"cron.every_week": "每周执行",
|
||||||
"cron.interval": "间隔执行",
|
"cron.interval": "间隔执行",
|
||||||
|
"dataset_search_tool_description": "调用“语义检索”和“全文检索”能力,从“知识库”中查找可能与问题相关的参考内容。优先调用该工具来辅助回答用户的问题。",
|
||||||
"day": "日",
|
"day": "日",
|
||||||
"document_quote": "文档引用",
|
"document_quote": "文档引用",
|
||||||
"document_quote_tip": "通常用于接受用户上传的文档内容(这需要文档解析),也可以用于引用其他字符串数据。",
|
"document_quote_tip": "通常用于接受用户上传的文档内容(这需要文档解析),也可以用于引用其他字符串数据。",
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ export function form2AppWorkflow(
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
...Input_Template_File_Link_Prompt,
|
...Input_Template_File_Link_Prompt,
|
||||||
value: [workflowStartNodeId, NodeOutputKeyEnum.userFiles]
|
value: [[workflowStartNodeId, NodeOutputKeyEnum.userFiles]]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: NodeInputKeyEnum.aiChatVision,
|
key: NodeInputKeyEnum.aiChatVision,
|
||||||
@@ -198,7 +198,7 @@ export function form2AppWorkflow(
|
|||||||
return {
|
return {
|
||||||
nodeId: datasetNodeId,
|
nodeId: datasetNodeId,
|
||||||
name: t(DatasetSearchModule.name),
|
name: t(DatasetSearchModule.name),
|
||||||
intro: t(DatasetSearchModule.intro),
|
intro: t('app:dataset_search_tool_description'),
|
||||||
avatar: DatasetSearchModule.avatar,
|
avatar: DatasetSearchModule.avatar,
|
||||||
flowNodeType: DatasetSearchModule.flowNodeType,
|
flowNodeType: DatasetSearchModule.flowNodeType,
|
||||||
showStatus: true,
|
showStatus: true,
|
||||||
@@ -451,7 +451,7 @@ export function form2AppWorkflow(
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
...Input_Template_File_Link_Prompt,
|
...Input_Template_File_Link_Prompt,
|
||||||
value: [workflowStartNodeId, NodeOutputKeyEnum.userFiles]
|
value: [[workflowStartNodeId, NodeOutputKeyEnum.userFiles]]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'userChatInput',
|
key: 'userChatInput',
|
||||||
|
|||||||
Reference in New Issue
Block a user