Uses of Class
com.bytedesk.kbase.llm_chunk.ChunkEntity
Packages that use ChunkEntity
Package
Description
ByteDesk 文档分割包
提供文档分割、向量化等功能
-
Uses of ChunkEntity in com.bytedesk.kbase.llm_chunk
Methods in com.bytedesk.kbase.llm_chunk that return ChunkEntityModifier and TypeMethodDescriptionprotected ChunkEntity
ChunkRestService.doSave
(ChunkEntity entity) ChunkRestService.handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, ChunkEntity entity) ChunkEntity.setError()
ChunkEntity.setSuccess()
Methods in com.bytedesk.kbase.llm_chunk that return types with arguments of type ChunkEntityModifier and TypeMethodDescriptionprotected org.springframework.data.jpa.domain.Specification<ChunkEntity>
ChunkRestService.createSpecification
(ChunkRequest request) protected org.springframework.data.domain.Page<ChunkEntity>
ChunkRestService.executePageQuery
(org.springframework.data.jpa.domain.Specification<ChunkEntity> spec, org.springframework.data.domain.Pageable pageable) ChunkRepository.findByDocId
(String docId) ChunkRepository.findByKbase_UidAndDeletedFalse
(String kbUid) ChunkRestService.findByKbUid
(String kbUid) static org.springframework.data.jpa.domain.Specification<ChunkEntity>
ChunkSpecification.search
(ChunkRequest request, AuthService authService) Methods in com.bytedesk.kbase.llm_chunk with parameters of type ChunkEntityModifier and TypeMethodDescriptionChunkRestService.convertToExcel
(ChunkEntity chunk) ChunkRestService.convertToResponse
(ChunkEntity entity) protected ChunkEntity
ChunkRestService.doSave
(ChunkEntity entity) ChunkRestService.handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, ChunkEntity entity) void
ChunkEntityListener.onPostPersist
(ChunkEntity chunk) void
ChunkEntityListener.onPostUpdate
(ChunkEntity chunk) Method parameters in com.bytedesk.kbase.llm_chunk with type arguments of type ChunkEntityModifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<ChunkEntity>
ChunkRestService.executePageQuery
(org.springframework.data.jpa.domain.Specification<ChunkEntity> spec, org.springframework.data.domain.Pageable pageable) -
Uses of ChunkEntity in com.bytedesk.kbase.llm_chunk.elastic
Methods in com.bytedesk.kbase.llm_chunk.elastic with parameters of type ChunkEntityModifier and TypeMethodDescriptionstatic ChunkElastic
ChunkElastic.fromEntity
(ChunkEntity entity) 将单个 ChunkEntity 转换为 ChunkElasticvoid
ChunkElasticService.indexChunk
(ChunkEntity chunk) 索引Chunk实体到ElasticsearchMethod parameters in com.bytedesk.kbase.llm_chunk.elastic with type arguments of type ChunkEntityModifier and TypeMethodDescriptionstatic List<ChunkElastic>
ChunkElastic.fromEntityList
(List<ChunkEntity> entities) 将 ChunkEntity 列表转换为 ChunkElastic 列表 -
Uses of ChunkEntity in com.bytedesk.kbase.llm_chunk.event
Fields in com.bytedesk.kbase.llm_chunk.event declared as ChunkEntityModifier and TypeFieldDescriptionprivate ChunkEntity
ChunkCreateEvent.chunk
private ChunkEntity
ChunkDeleteEvent.chunk
private ChunkEntity
ChunkUpdateDocEvent.chunk
private ChunkEntity
ChunkUpdateEvent.chunk
Constructors in com.bytedesk.kbase.llm_chunk.event with parameters of type ChunkEntityModifierConstructorDescriptionChunkCreateEvent
(ChunkEntity chunk) ChunkDeleteEvent
(ChunkEntity chunk) ChunkUpdateDocEvent
(ChunkEntity chunk) ChunkUpdateEvent
(ChunkEntity chunk) -
Uses of ChunkEntity in com.bytedesk.kbase.llm_chunk.vector
Methods in com.bytedesk.kbase.llm_chunk.vector with parameters of type ChunkEntityModifier and TypeMethodDescriptionvoid
ChunkVectorService.deleteChunkVector
(ChunkEntity chunk) 删除chunk的向量索引static ChunkVector
ChunkVector.fromChunkEntity
(ChunkEntity chunk) 从ChunkEntity创建ChunkVector实体的静态方法 注意:向量嵌入需要单独计算并设置void
ChunkVectorService.indexChunkVector
(ChunkEntity chunk) 将chunk内容添加到向量存储中