Class OpenAiChatProperties
java.lang.Object
org.springframework.ai.autoconfigure.openai.OpenAiChatProperties
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidvoidsetBaseUrl(String baseUrl) voidsetCompletionsPath(String completionsPath) voidsetEnabled(boolean enabled) voidsetOptions(OpenAiChatOptions options) voidsetOrganizationId(String organizationId) voidsetProjectId(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
-