Feat: Allow users to enter SQL in the SQL operator #9897 (#9898)

### What problem does this PR solve?

Feat: Allow users to enter SQL in the SQL operator #9897

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-09-04 11:26:55 +08:00
committed by GitHub
parent d13dc0c24d
commit 927a195008
3 changed files with 21 additions and 4 deletions

View File

@ -918,7 +918,8 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
addTools: 'Add Tools',
sysPromptDefultValue: `
<role>
You are {{agent_name}}, an AI assistant specialized in {{domain_or_task}}.
You are a helpful assistant, an AI assistant specialized in problem-solving for the user.
If a specific domain is provided, adapt your expertise to that domain; otherwise, operate as a generalist.
</role>
<instructions>
1. Understand the users request.
@ -1498,6 +1499,9 @@ This delimiter is used to split the input text into several text pieces echo of
},
goto: 'Fail Branch',
comment: 'Default Value',
sqlStatement: 'SQL Statement',
sqlStatementTip:
'Write your SQL query here. You can use variables, raw SQL, or mix both using variable syntax.',
},
llmTools: {
bad_calculator: {

View File

@ -878,7 +878,8 @@ General实体和关系提取提示来自 GitHub - microsoft/graphrag基于
addTools: '添加工具',
sysPromptDefultValue: `
<role>
你是{{agent_name}},一专注于{{领域_or_任务}}的AI助手。
你是一名乐于助人的助手,一专注于为用户解决问题的 AI 助手。
如果用户指定了特定领域,你需要在该领域展现专业性;如果没有,则以通用助手的方式工作。
</role>
<instructions>
1. 理解用户请求。
@ -1413,6 +1414,9 @@ General实体和关系提取提示来自 GitHub - microsoft/graphrag基于
httpRequest: '请求接口',
wenCai: '查询财务数据',
},
sqlStatement: 'SQL 语句',
sqlStatementTip:
'在此处编写您的 SQL 查询。您可以使用变量、原始 SQL或使用变量语法混合使用两者。',
},
footer: {
profile: 'All rights reserved @ React',