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

io.kestra.plugin.openai.OpenAiInterface Maven / Gradle / Ivy

The newest version!
package io.kestra.plugin.openai;

import io.kestra.core.models.property.Property;
import io.swagger.v3.oas.annotations.media.Schema;

import jakarta.validation.constraints.NotNull;

public interface OpenAiInterface {
    @Schema(
        title = "The OpenAI API key."
    )
    @NotNull
    Property getApiKey();

    @Schema(
        title = "A unique identifier representing your end-user."
    )
    Property getUser();

    @Schema(
        title = "The maximum number of seconds to wait for a response."
    )
    long getClientTimeout();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy