com.launchableinc.openai.runs.Run Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Basic java objects for the OpenAI GPT APIs
package com.launchableinc.openai.runs;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.launchableinc.openai.assistants.Tool;
import com.launchableinc.openai.common.LastError;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Map;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Run {
private String id;
private String object;
@JsonProperty("created_at")
private Integer createdAt;
@JsonProperty("thread_id")
private String threadId;
@JsonProperty("assistant_id")
private String assistantId;
private String status;
@JsonProperty("required_action")
private RequiredAction requiredAction;
@JsonProperty("last_error")
private LastError lastError;
@JsonProperty("expires_at")
private Integer expiresAt;
@JsonProperty("started_at")
private Integer startedAt;
@JsonProperty("cancelled_at")
private Integer cancelledAt;
@JsonProperty("failed_at")
private Integer failedAt;
@JsonProperty("completed_at")
private Integer completedAt;
private String model;
private String instructions;
private List tools;
@JsonProperty("file_ids")
private List fileIds;
private Map metadata;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy