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.anthropic.api
Methods in org.springframework.ai.anthropic.api with parameters of type ApiKeyModifier and TypeMethodDescriptionConstructors in org.springframework.ai.anthropic.api with parameters of type ApiKeyModifierConstructorDescriptionAnthropicApi(String completionsPath, org.springframework.web.client.RestClient restClient, org.springframework.web.reactive.function.client.WebClient webClient, ApiKey apiKey) Create a new client api. -
Uses of ApiKey in org.springframework.ai.deepseek.api
Methods in org.springframework.ai.deepseek.api with parameters of type ApiKeyConstructors in org.springframework.ai.deepseek.api with parameters of type ApiKeyModifierConstructorDescriptionDeepSeekApi(String baseUrl, ApiKey apiKey, org.springframework.http.HttpHeaders headers, String completionsPath, String betaPrefixPath, 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. -
Uses of ApiKey in org.springframework.ai.elevenlabs.api
Methods in org.springframework.ai.elevenlabs.api with parameters of type ApiKeyModifier and TypeMethodDescriptionConstructors in org.springframework.ai.elevenlabs.api with parameters of type ApiKeyModifierConstructorDescriptionElevenLabsVoicesApi(String baseUrl, ApiKey apiKey, org.springframework.http.HttpHeaders headers, org.springframework.web.client.RestClient.Builder restClientBuilder, org.springframework.web.client.ResponseErrorHandler responseErrorHandler) Create a new ElevenLabs Voices API client. -
Uses of ApiKey in org.springframework.ai.model
Classes in org.springframework.ai.model that implement ApiKeyModifier and TypeClassDescriptionclassThis implementation of ApiKey indicates that no API key should be used, e.g.final recordA simple implementation ofApiKeythat 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.http.HttpHeaders headers, String completionsPath, String embeddingsPath, org.springframework.web.client.ResponseErrorHandler responseErrorHandler, org.springframework.web.client.RestClient restClient, org.springframework.web.reactive.function.client.WebClient webClient) Create a new chat completion api.OpenAiApi(String baseUrl, ApiKey apiKey, org.springframework.http.HttpHeaders 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.http.HttpHeaders 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.OpenAiFileApi(String baseUrl, ApiKey apiKey, org.springframework.http.HttpHeaders headers, org.springframework.web.client.RestClient.Builder restClientBuilder, org.springframework.web.client.ResponseErrorHandler responseErrorHandler) OpenAiImageApi(String baseUrl, ApiKey apiKey, org.springframework.http.HttpHeaders headers, String imagesPath, 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.http.HttpHeaders 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. -
Uses of ApiKey in org.springframework.ai.zhipuai.api
Methods in org.springframework.ai.zhipuai.api with parameters of type ApiKeyConstructors in org.springframework.ai.zhipuai.api with parameters of type ApiKeyModifierConstructorDescriptionZhiPuAiApi(String baseUrl, ApiKey apiKey, org.springframework.http.HttpHeaders headers, String completionsPath, String embeddingsPath, org.springframework.web.client.ResponseErrorHandler responseErrorHandler, org.springframework.web.client.RestClient restClient, org.springframework.web.reactive.function.client.WebClient webClient) Create a new chat completion api.