com.theokanning.openai.assistants.AssistantBase Maven / Gradle / Ivy
package com.theokanning.openai.assistants;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import java.util.List;
import java.util.Map;
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class AssistantBase {
/**
* ID of the model to use
*/
@NonNull
String model;
/**
* The name of the assistant. The maximum length is 256
*/
String name;
/**
* The description of the assistant.
*/
String description;
/**
* The system instructions that the assistant uses.
*/
String instructions;
/**
* A list of tools enabled on the assistant.
*/
List tools;
/**
* A list of file IDs attached to this assistant.
*/
@JsonProperty("file_ids")
List fields;
/**
* Set of 16 key-value pairs that can be attached to an object.
*/
Map metadata;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy