Class ChatCompletionsProperties
java.lang.Object
io.agentscope.spring.boot.chat.config.ChatCompletionsProperties
@ConfigurationProperties(prefix="agentscope.chat-completions")
public class ChatCompletionsProperties
extends Object
Configuration properties for the Chat Completions Web Starter.
Example configuration:
agentscope:
chat-completions:
enabled: true
base-path: /v1/chat/completions
session-manager:
type: in-memory # Options: in-memory, redis, mysql (future)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetBasePath(String basePath) voidsetEnabled(boolean enabled)
-
Constructor Details
-
ChatCompletionsProperties
public ChatCompletionsProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getBasePath
-
setBasePath
-