com.volcengine.ark.runtime.model.bot.completion.chat.BotChatCompletionChunk Maven / Gradle / Ivy
package com.volcengine.ark.runtime.model.bot.completion.chat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.volcengine.ark.runtime.model.bot.completion.chat.reference.BotChatResultReference;
import com.volcengine.ark.runtime.model.bot.completion.chat.usage.BotUsage;
import com.volcengine.ark.runtime.model.completion.chat.ChatCompletionChunk;
import java.util.List;
import java.util.Map;
@JsonIgnoreProperties(ignoreUnknown = true)
public class BotChatCompletionChunk extends ChatCompletionChunk {
/**
* Same as BotChaCompletionRequest.metadata
*/
private Map metadata;
/**
* In bot chat completion, the bot_usage will be returned instead of usage
*/
@JsonProperty("bot_usage")
private BotUsage botUsage;
/**
* The references returned by Search Actions.
*/
private List references;
public Map getMetadata() {
return metadata;
}
public void setMetadata(Map metadata) {
this.metadata = metadata;
}
public BotUsage getBotUsage() {
return botUsage;
}
public void setBotUsage(BotUsage botUsage) {
this.botUsage = botUsage;
}
public List getReferences() {
return references;
}
public void setReferences(List references) {
this.references = references;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy