com.launchableinc.openai.runs.CreateThreadAndRunRequest 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.threads.ThreadRequest;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Map;
/**
* @description:
* @author: vacuity
* @create: 2023-11-16 23:08
**/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CreateThreadAndRunRequest {
@JsonProperty("assistant_id")
private String assistantId;
private ThreadRequest thread;
private String model;
private String instructions;
private List tools;
private Map metadata;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy