Class QuickReplyVector

java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.kbase.quick_reply.vector.QuickReplyVector
All Implemented Interfaces:
Serializable

public class QuickReplyVector extends BaseEntity
快捷回复-向量检索
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • title

      @Field(type=Text, analyzer="ik_max_word", searchAnalyzer="ik_smart") private String title
    • content

      @Field(type=Text, analyzer="ik_max_word", searchAnalyzer="ik_smart") private String content
    • shortCut

      @Field(type=Keyword) private String shortCut
    • tagList

      @Field(type=Keyword) private List<String> tagList
    • enabled

      @Field(type=Boolean) private Boolean enabled
    • type

      @Field(type=Keyword) private String type
    • clickCount

      @Field(type=Integer) private Integer clickCount
    • startDate

      @Field(type=Keyword) private String startDate
    • endDate

      @Field(type=Keyword) private String endDate
    • categoryUid

      @Field(type=Keyword) private String categoryUid
    • kbUid

      @Field(type=Keyword) private String kbUid
    • agentUid

      @Field(type=Keyword) private String agentUid
    • embedding

      @Field(type=Dense_Vector, dims=1536, index=true, similarity="cosine") private float[] embedding
  • Constructor Details

    • QuickReplyVector

      public QuickReplyVector()
  • Method Details

    • fromQuickReplyEntity

      public static QuickReplyVector fromQuickReplyEntity(QuickReplyEntity quickReply)
      从QuickReplyEntity创建QuickReplyVector的静态方法