[]
        
立即下载
(Showing Draft Content)

Forguncy.Forguncy.Plugin.AIToolResponse

接口: AIToolResponse

Forguncy.Plugin.AIToolResponse

AI返回的调用工具对象。

继承关系

属性

assistantChatMessage

Optional assistantChatMessage: ChatMessageParam

AI助手消息,加入chats后原样返回。


functionCalls

functionCalls: Object

AI返回的function_call字典。

Index signature

▪ [key: string]: AIToolFunctionCallResponse


logInfo

Optional logInfo: Object

AI返回的日志信息。

Type declaration

属性名 类型 说明
modelName string AI模型名称。
prompt string AI系统提示词
userPrompt string AI用户提示词

继承自

AIResponse.logInfo


type

type: Tool

AI返回对象的类型。

Overrides

AIResponse.type