Class EmbeddingChunkEntity

java.lang.Object
sk.iway.iwcm.system.datatable.BaseEditorFields
sk.iway.iwcm.rag.pgvector.EmbeddingChunkEntity

@Entity public class EmbeddingChunkEntity extends BaseEditorFields
Entity representing a chunk of text with its embedding vector stored in PostgreSQL (pgvector). The 'embedding' column is of type vector(1536) in PgSQL and is handled via native SQL, not mapped as a JPA field (JPA/EclipseLink does not support pgvector types natively).
  • Constructor Details

    • EmbeddingChunkEntity

      public EmbeddingChunkEntity()
  • Method Details

    • getId

      public Long getId()
    • getEntityType

      public RagEntityType getEntityType()
    • getEntityId

      public Long getEntityId()
    • getChunkIndex

      public Integer getChunkIndex()
    • getChunkText

      public String getChunkText()
    • getContentHash

      public String getContentHash()
    • getEmbeddingModel

      public String getEmbeddingModel()
    • getDimensions

      public Integer getDimensions()
    • getLanguage

      public String getLanguage()
    • getDomainId

      public Integer getDomainId()
    • getStatus

      public EmbeddingChunkStatus getStatus()
    • getErrorMessage

      public String getErrorMessage()
    • getCreateDate

      public Date getCreateDate()
    • getRootGroupL1

      public Integer getRootGroupL1()
    • getRootGroupL2

      public Integer getRootGroupL2()
    • getRootGroupL3

      public Integer getRootGroupL3()
    • getGroupId

      public Integer getGroupId()
    • setId

      public void setId(Long id)
    • setEntityType

      public void setEntityType(RagEntityType entityType)
    • setEntityId

      public void setEntityId(Long entityId)
    • setChunkIndex

      public void setChunkIndex(Integer chunkIndex)
    • setChunkText

      public void setChunkText(String chunkText)
    • setContentHash

      public void setContentHash(String contentHash)
    • setEmbeddingModel

      public void setEmbeddingModel(String embeddingModel)
    • setDimensions

      public void setDimensions(Integer dimensions)
    • setLanguage

      public void setLanguage(String language)
    • setDomainId

      public void setDomainId(Integer domainId)
    • setStatus

      public void setStatus(EmbeddingChunkStatus status)
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • setCreateDate

      public void setCreateDate(Date createDate)
    • setRootGroupL1

      public void setRootGroupL1(Integer rootGroupL1)
    • setRootGroupL2

      public void setRootGroupL2(Integer rootGroupL2)
    • setRootGroupL3

      public void setRootGroupL3(Integer rootGroupL3)
    • setGroupId

      public void setGroupId(Integer groupId)