com.volcengine.ark.runtime.model.completion.chat.ChatToolCall Maven / Gradle / Ivy
package com.volcengine.ark.runtime.model.completion.chat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class ChatToolCall {
/**
* The ID of the tool call
*/
String id;
/**
* The type of the tool. Currently, only function is supported
*/
String type;
/**
* The function that the model called
*/
ChatFunctionCall function;
public ChatToolCall(String id, String type, ChatFunctionCall function) {
this.id = id;
this.type = type;
this.function = function;
}
public ChatToolCall(){}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public ChatFunctionCall getFunction() {
return function;
}
public void setFunction(ChatFunctionCall function) {
this.function = function;
}
@Override
public String toString() {
return "ChatToolCall{" +
"id='" + id + '\'' +
", type='" + type + '\'' +
", function=" + function +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy