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

com.theokanning.openai.model.Model Maven / Gradle / Ivy

There is a newer version: 0.18.2
Show newest version
package com.theokanning.openai.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * GPT model details
 *
 * https://beta.openai.com/docs/api-reference/models
 */
@Data
public class Model {
    /**
     * An identifier for this model, used to specify the model when making completions, etc
     */
    public String id;

    /**
     * The type of object returned, should be "model"
     */
    public String object;

    /**
     * The owner of the model, typically "openai"
     */
    @JsonProperty("owned_by")
    public String ownedBy;

    /**
     * List of permissions for this model
     */
    public List permission;

    /**
     * The root model that this and its parent (if applicable) are based on
     */
    public String root;

    /**
     * The parent model that this is based on
     */
    public String parent;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy