com.alipay.api.domain.AlipayCloudNextbuilderAgentChatGenerateModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alipay-sdk-java Show documentation
Show all versions of alipay-sdk-java Show documentation
Alipay openapi SDK for Java
Copyright © 2018 杭州蚂蚁金服
All rights reserved.
版权所有 (C)杭州蚂蚁金服
http://open.alipay.com
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 对话消息发送接口(非流式)
*
* @author auto create
* @since 1.0, 2024-08-28 23:24:08
*/
public class AlipayCloudNextbuilderAgentChatGenerateModel extends AlipayObject {
private static final long serialVersionUID = 3731447297652275725L;
/**
* AI 创作平台创建的Agent 的 id,可从AI 创作平台页面获取
*/
@ApiField("agent_id")
private String agentId;
/**
* Agent 的配置版本号,当应用有多个发布成功配置版本的情况下用于手动指定调用的具体版本号,若不传默认选择最新的配置版本,该参数可以从"alipay.cloud.nextbuilder.agent.config.get"接口的返回中获取
*/
@ApiField("config_version")
private String configVersion;
/**
* 由应用定义的对话输入变量,具体内容参考青蓝平台应用定义,对话型应用非必选,JSON格式的Map,详细解释青蓝平台应用调用接口请求参数解释- inputs
*/
@ApiField("inputs")
private String inputs;
/**
* 多模态参数:
images标识是多模态中的图片参数,value是上传图片afts的文件ID列表。
当前多模态只支持图片
*/
@ApiField("multi_modal_inputs")
private MultiModalInputsRequest multiModalInputs;
/**
* 客户调用应用的用户唯一标识
*/
@ApiField("outer_user_id")
private String outerUserId;
/**
* 用户输入的对话文本
*/
@ApiField("query")
private String query;
/**
* 用户调用来源侧的唯一标识
*/
@ApiField("request_id")
private String requestId;
/**
* 会话id,表示一次对话,由服务端生成。首次发起为空,会在Response中返回;基于历史对话需指定。
*/
@ApiField("session_id")
private String sessionId;
public String getAgentId() {
return this.agentId;
}
public void setAgentId(String agentId) {
this.agentId = agentId;
}
public String getConfigVersion() {
return this.configVersion;
}
public void setConfigVersion(String configVersion) {
this.configVersion = configVersion;
}
public String getInputs() {
return this.inputs;
}
public void setInputs(String inputs) {
this.inputs = inputs;
}
public MultiModalInputsRequest getMultiModalInputs() {
return this.multiModalInputs;
}
public void setMultiModalInputs(MultiModalInputsRequest multiModalInputs) {
this.multiModalInputs = multiModalInputs;
}
public String getOuterUserId() {
return this.outerUserId;
}
public void setOuterUserId(String outerUserId) {
this.outerUserId = outerUserId;
}
public String getQuery() {
return this.query;
}
public void setQuery(String query) {
this.query = query;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy