com.launchableinc.openai.runs.RunStep 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.common.LastError;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Map;
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class RunStep {
private String id;
private String object;
@JsonProperty("created_at")
private Integer createdAt;
@JsonProperty("assistant_id")
private String assistantId;
@JsonProperty("thread_id")
private String threadId;
@JsonProperty("run_id")
private String runId;
private String type;
private String status;
@JsonProperty("step_details")
private StepDetails stepDetails;
@JsonProperty("last_error")
private LastError lastError;
@JsonProperty("expired_at")
private Integer expiredAt;
@JsonProperty("cancelled_at")
private Integer cancelledAt;
@JsonProperty("failed_at")
private Integer failedAt;
@JsonProperty("completed_at")
private Integer completedAt;
private Map metadata;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy