Class OpenAiProperties
java.lang.Object
org.springframework.ai.autoconfigure.openai.OpenAiProperties
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetModel()
void
void
setBaseUrl
(String baseUrl) void
setDuration
(Duration duration) void
setEmbeddingApiKey
(String embeddingApiKey) void
setEmbeddingBaseUrl
(String embeddingBaseUrl) void
setEmbeddingModel
(String embeddingModel) void
void
setTemperature
(Double temperature)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
OpenAiProperties
public OpenAiProperties()
-
-
Method Details
-
getApiKey
-
setApiKey
-
getModel
-
setModel
-
getTemperature
-
setTemperature
-
getDuration
-
setDuration
-
getBaseUrl
-
setBaseUrl
-
getEmbeddingModel
-
setEmbeddingModel
-
setEmbeddingBaseUrl
-
getEmbeddingBaseUrl
-
getEmbeddingApiKey
-
setEmbeddingApiKey
-