Class OpenAiChatProperties
java.lang.Object
org.springframework.ai.autoconfigure.openai.OpenAiChatProperties
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
setBaseUrl
(String baseUrl) void
setCompletionsPath
(String completionsPath) void
setEnabled
(boolean enabled) void
setOptions
(OpenAiChatOptions options) void
setOrganizationId
(String organizationId) void
setProjectId
(String projectId)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
DEFAULT_CHAT_MODEL
- See Also:
-
DEFAULT_COMPLETIONS_PATH
- See Also:
-
-
Constructor Details
-
OpenAiChatProperties
public OpenAiChatProperties()
-
-
Method Details
-
getOptions
-
setOptions
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getCompletionsPath
-
setCompletionsPath
-
getApiKey
-
setApiKey
-
getBaseUrl
-
setBaseUrl
-
getProjectId
-
setProjectId
-
getOrganizationId
-
setOrganizationId
-