java.lang.Object
ru.bitel.bgbilling.kernel.kb.server.bean.KbInfo

public class KbInfo extends Object
Описание базы знаний (RAG): строка таблицы kb.

Встроенные БЗ (isBuiltin() - true) удалить нельзя - только включить/отключить; пользовательские (кастомные) создаются и удаляются плагинами расширений.

  • Constructor Details

    • KbInfo

      public KbInfo()
  • Method Details

    • getId

      public int getId()
    • setId

      public KbInfo setId(int id)
    • getKbKey

      public String getKbKey()
    • setKbKey

      public KbInfo setKbKey(String kbKey)
    • getName

      public String getName()
    • setName

      public KbInfo setName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public KbInfo setDescription(String description)
    • getKbType

      public String getKbType()
    • setKbType

      public KbInfo setKbType(String kbType)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public KbInfo setEnabled(boolean enabled)
    • getMode

      public String getMode()
    • setMode

      public KbInfo setMode(String mode)
    • getEndpoint

      public String getEndpoint()
    • setEndpoint

      public KbInfo setEndpoint(String endpoint)
    • getTenantKey

      public String getTenantKey()
    • setTenantKey

      public KbInfo setTenantKey(String tenantKey)
    • getRagSchema

      public String getRagSchema()
    • setRagSchema

      public KbInfo setRagSchema(String ragSchema)
    • getTopK

      public int getTopK()
    • setTopK

      public KbInfo setTopK(int topK)
    • getChatModel

      public String getChatModel()
    • setChatModel

      public KbInfo setChatModel(String chatModel)
    • getEmbedModel

      public String getEmbedModel()
    • setEmbedModel

      public KbInfo setEmbedModel(String embedModel)
    • getComment

      public String getComment()
    • setComment

      public KbInfo setComment(String comment)
    • getCreated

      public Date getCreated()
    • setCreated

      public KbInfo setCreated(Date created)
    • getCreatedById

      public int getCreatedById()
    • setCreatedById

      public KbInfo setCreatedById(int createdById)
    • getUpdated

      public Date getUpdated()
    • setUpdated

      public KbInfo setUpdated(Date updated)
    • getUpdatedById

      public int getUpdatedById()
    • setUpdatedById

      public KbInfo setUpdatedById(int updatedById)
    • isBuiltin

      public boolean isBuiltin()
      Встроенная ли БЗ (нельзя удалить, только включить/отключить).
    • toString

      public String toString()
      Overrides:
      toString in class Object