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
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
-
getEmbeddingModel
-
setEmbeddingModel
-
getTemperature
-
setTemperature
-
getDuration
-
setDuration
-
getBaseUrl
-
setBaseUrl
-