Package sk.iway.iwcm.rag.pgvector
Class EmbeddingChunkEntity
java.lang.Object
sk.iway.iwcm.system.datatable.BaseEditorFields
sk.iway.iwcm.rag.pgvector.EmbeddingChunkEntity
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()voidsetChunkIndex(Integer chunkIndex) voidsetChunkText(String chunkText) voidsetContentHash(String contentHash) voidsetCreateDate(Date createDate) voidsetDimensions(Integer dimensions) voidsetDomainId(Integer domainId) voidsetEmbeddingModel(String embeddingModel) voidsetEntityId(Long entityId) voidsetEntityType(RagEntityType entityType) voidsetErrorMessage(String errorMessage) voidsetGroupId(Integer groupId) voidvoidsetLanguage(String language) voidsetRootGroupL1(Integer rootGroupL1) voidsetRootGroupL2(Integer rootGroupL2) voidsetRootGroupL3(Integer rootGroupL3) voidsetStatus(EmbeddingChunkStatus status) Methods inherited from class sk.iway.iwcm.system.datatable.BaseEditorFields
addRowClass, addStatusIcon, getFields, getFieldsDefinition, getFieldsDefinitionKeyPrefix, getNotify, getRowClass, getStatusIconsHtml, getStatusIconsList, setFieldsDefinition, setFieldsDefinitionKeyPrefix, setNotify, setRowClass, setStatusIconsList
-
Constructor Details
-
EmbeddingChunkEntity
public EmbeddingChunkEntity()
-
-
Method Details
-
getId
-
getEntityType
-
getEntityId
-
getChunkIndex
-
getChunkText
-
getContentHash
-
getEmbeddingModel
-
getDimensions
-
getLanguage
-
getDomainId
-
getStatus
-
getErrorMessage
-
getCreateDate
-
getRootGroupL1
-
getRootGroupL2
-
getRootGroupL3
-
getGroupId
-
setId
-
setEntityType
-
setEntityId
-
setChunkIndex
-
setChunkText
-
setContentHash
-
setEmbeddingModel
-
setDimensions
-
setLanguage
-
setDomainId
-
setStatus
-
setErrorMessage
-
setCreateDate
-
setRootGroupL1
-
setRootGroupL2
-
setRootGroupL3
-
setGroupId
-