All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.ark.runtime.model.bot.completion.chat.BotChatCompletionResult Maven / Gradle / Ivy

There is a newer version: 0.1.144
Show newest version
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.ChatCompletionChoice;
import com.volcengine.ark.runtime.model.completion.chat.ChatCompletionResult;

import java.util.List;
import java.util.Map;

@JsonIgnoreProperties(ignoreUnknown = true)
public class BotChatCompletionResult extends ChatCompletionResult {

    /**
     * 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