类 SimpleAiConfigComponent

java.lang.Object
com.publiccms.logic.component.config.SimpleAiConfigComponent
所有已实现的接口:
Config

@Component public class SimpleAiConfigComponent extends Object implements Config
SimpleAiConfigComponent 文本配置组件
  • 字段详细资料

    • CONFIG_CODE

      public static final String CONFIG_CODE
      config code
      另请参阅:
    • CONFIG_CODE_DESCRIPTION

      public static final String CONFIG_CODE_DESCRIPTION
      config description code
    • CONFIG_CHAT_API_URL

      public static final String CONFIG_CHAT_API_URL
      url
      另请参阅:
    • CONFIG_CHAT_API_KEY

      public static final String CONFIG_CHAT_API_KEY
      token
      另请参阅:
    • CONFIG_CHAT_API_MODEL

      public static final String CONFIG_CHAT_API_MODEL
      另请参阅:
    • configDataComponent

      protected ConfigDataComponent configDataComponent
  • 构造器详细资料

    • SimpleAiConfigComponent

      public SimpleAiConfigComponent()
  • 方法详细资料

    • getCode

      public String getCode(short siteId, boolean showAll)
      指定者:
      getCode 在接口中 Config
      参数:
      siteId -
      showAll -
      返回:
      config code or null
    • getCodeDescription

      public String getCodeDescription(Locale locale)
      指定者:
      getCodeDescription 在接口中 Config
      参数:
      locale -
      返回:
    • getExtendFieldList

      public List<SysExtendField> getExtendFieldList(SysSite site, Locale locale)
      指定者:
      getExtendFieldList 在接口中 Config
      参数:
      site -
      locale -
      返回:
      config extend field list
    • isChatEnable

      public boolean isChatEnable(short siteId)
    • getChatRequest

      public HttpRequest getChatRequest(short siteId, List<SimpleAiMessage> messageList)
    • exportable

      public boolean exportable()
      指定者:
      exportable 在接口中 Config
      返回:
      exportable