Replies: 1 comment
-
|
这个插件是不能自己独立工作的。它只会调用 对应的 https://github.com/higress-group/higress/tree/main/plugins/wasm-go/extensions/ai-intent
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
照着文档进行配置的,先创建模型路由,配置/intent路径,在里面添加/proxy代理,


再配置主路由添加意图识别

llm:
proxyApiKey: ""
proxyDomain: "127.0.0.1"
proxyModel: "Qwen3.6-35B-A3B"
proxyPort: "80"
proxyServiceName: "intent-service.static"
proxyTimeout: "120000"
proxyUrl: "http://127.0.0.1:80/intent/compatible-mode/v1/chat/completions"
scene:
category: "金融|电商|法律|Higress"
prompt: "你是一个智能类别识别助手,负责根据用户提出的问题和预设的类别,确定问题属于哪个预设的类别,并给出相应的类别。用户提出的问题为:'%s',预设的
类别为'%s',直接返回一种具体类别,如果没有找到就返回'NotFound'。"
Beta Was this translation helpful? Give feedback.
All reactions