Uses of Interface
org.springframework.ai.model.ApiKey
Packages that use ApiKey
Package
Description
Provides a set of interfaces and classes for a generic API designed to interact with
various AI models.
-
Uses of ApiKey in org.springframework.ai.model
Classes in org.springframework.ai.model that implement ApiKeyModifier and TypeClassDescriptionclass
This implementation of ApiKey indicates that no API key should be used, e.g.final record
A simple implementation ofApiKey
that holds an immutable API key value. -
Uses of ApiKey in org.springframework.ai.openai.api
Methods in org.springframework.ai.openai.api with parameters of type ApiKeyModifier and TypeMethodDescriptionConstructors in org.springframework.ai.openai.api with parameters of type ApiKeyModifierConstructorDescriptionOpenAiApi
(String baseUrl, ApiKey apiKey, org.springframework.util.MultiValueMap<String, String> headers, String completionsPath, String embeddingsPath, org.springframework.web.client.RestClient.Builder restClientBuilder, org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder, org.springframework.web.client.ResponseErrorHandler responseErrorHandler) Create a new chat completion api.OpenAiAudioApi
(String baseUrl, ApiKey apiKey, org.springframework.util.MultiValueMap<String, String> headers, org.springframework.web.client.RestClient.Builder restClientBuilder, org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder, org.springframework.web.client.ResponseErrorHandler responseErrorHandler) Create a new audio api.OpenAiImageApi
(String baseUrl, ApiKey apiKey, org.springframework.util.MultiValueMap<String, String> headers, org.springframework.web.client.RestClient.Builder restClientBuilder, org.springframework.web.client.ResponseErrorHandler responseErrorHandler) Create a new OpenAI Image API with the provided base URL.OpenAiModerationApi
(String baseUrl, ApiKey apiKey, org.springframework.util.MultiValueMap<String, String> headers, org.springframework.web.client.RestClient.Builder restClientBuilder, org.springframework.web.client.ResponseErrorHandler responseErrorHandler) Create a new OpenAI Moderation API with the provided base URL.