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

com.launchableinc.openai.runs.CreateThreadAndRunRequest 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.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