-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
建议增加一个js代码嵌入功能哈 #1489
Comments
牛牛👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
例行检查
功能描述
我只想实现一个很简单的功能,就是通过用户问题首字母判断调用那个分支.
由于用户问题 首字母又会干扰模型判断或知识库查询,所以需要使用http模块来去除首字母,才繁琐了.
其实只要用 内嵌一个简单的js执行环境就能解决很多这样类似的情况.而且很高效准确.
相关示例
可以参考 quicker 的 输入 变量 ,只要在前面加个
$= {{var}}[key]
就能执行 C#代码表达式. 加$$ holle {{var1}}
就能字符串变量拼接.The text was updated successfully, but these errors were encountered: