Template conversion adds Jinjia2 syntax support (#4545)

### What problem does this PR solve?

Template conversion adds Jinjia2 syntax support

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

---------

Co-authored-by: wangrui <wangrui@haima.me>
Co-authored-by: Yingfeng <yingfeng.zhang@gmail.com>
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
This commit is contained in:
WANGRUI-ZB
2025-01-23 17:11:14 +08:00
committed by GitHub
parent b23a4a8fea
commit bbc1d02c96
6 changed files with 56 additions and 19 deletions

View File

@ -1107,7 +1107,7 @@ General实体和关系提取提示来自 GitHub - microsoft/graphrag基于
pasteFileLink: '粘贴文件链接',
testRun: '试运行',
template: '模板转换',
templateDescription: '该组件用于排版各种组件的输出。',
templateDescription: '该组件用于排版各种组件的输出。1、支持Jinja2模板,会先将输入转为对象后进行模版渲染2、同时保留原使用{参数}字符串替换的方式',
emailComponent: '邮件',
emailDescription: '发送邮件到指定邮箱',
smtpServer: 'SMTP服务器',