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 Details

    • ChatCompletionsProperties

      public ChatCompletionsProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getBasePath

      public String getBasePath()
    • setBasePath

      public void setBasePath(String basePath)