io.github.sashirestela.openai.BaseSimpleOpenAIArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simple-openai Show documentation
Show all versions of simple-openai Show documentation
A Java library to use the OpenAI API in the simplest possible way.
package io.github.sashirestela.openai;
import io.github.sashirestela.cleverclient.http.HttpRequestData;
import lombok.Builder;
import lombok.Getter;
import lombok.NonNull;
import java.net.http.HttpClient;
import java.util.Map;
import java.util.function.UnaryOperator;
@Getter
@Builder
public class BaseSimpleOpenAIArgs {
@NonNull
private final String baseUrl;
private final Map headers;
private final HttpClient httpClient;
private final UnaryOperator requestInterceptor;
}