io.kestra.plugin.openai.OpenAiInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin-openai Show documentation
Show all versions of plugin-openai Show documentation
Interact with OpenAI from Kestra.
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