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

xyz.felh.openai.assistant.run.SubmitToolOutputsRequest Maven / Gradle / Ivy

There is a newer version: 4.0.2024102501
Show newest version
package xyz.felh.openai.assistant.run;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import xyz.felh.openai.IOpenAiApiRequest;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor(force = true)
public class SubmitToolOutputsRequest implements IOpenAiApiRequest {

    /**
     * A list of tools for which the outputs are being submitted.
     * 

* See {@link ToolOutput} */ @NonNull @JSONField(name = "tool_outputs") @JsonProperty("tool_outputs") private List toolOutputs; /** * If true, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a data: [DONE] message. */ @JSONField(name = "stream") @JsonProperty("stream") private Boolean stream; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy