mirror of
https://github.com/jie65535/JChatGPT.git
synced 2025-10-20 17:13:37 +08:00
Update VisualAgent tool name to imageRecognition
This commit is contained in:
@@ -18,8 +18,8 @@ import top.jie65535.mirai.PluginConfig
|
|||||||
|
|
||||||
class VisualAgent : BaseAgent(
|
class VisualAgent : BaseAgent(
|
||||||
tool = Tool.function(
|
tool = Tool.function(
|
||||||
name = "visualAgent",
|
name = "imageRecognition",
|
||||||
description = "可通过调用视觉模型识别图片。",
|
description = "可通过调用视觉模型来识别图片内容。备注:该方法成本较高,非必要尽量不要调用。",
|
||||||
parameters = Parameters.buildJsonObject {
|
parameters = Parameters.buildJsonObject {
|
||||||
put("type", "object")
|
put("type", "object")
|
||||||
putJsonObject("properties") {
|
putJsonObject("properties") {
|
||||||
|
Reference in New Issue
Block a user