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

com.launchableinc.openai.runs.Run Maven / Gradle / Ivy

There is a newer version: 0.4.0
Show newest version
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