跳到主要内容

add_ai_msg

添加AI消息

声明

void add_ai_msg(string content, string role = "user")

参数

参数名描述
content内容
role角色

返回值

使用方式

返回文档