Uses of Class
com.bytedesk.kbase.llm_text.TextEntity
Packages that use TextEntity
-
Uses of TextEntity in com.bytedesk.kbase.llm_text
Fields in com.bytedesk.kbase.llm_text with type parameters of type TextEntityMethods in com.bytedesk.kbase.llm_text that return TextEntityModifier and TypeMethodDescriptionTextRestService.convertExcelToText
(TextExcel excel, String kbType, String fileUid, String kbUid, String orgUid) protected TextEntity
TextRestService.doSave
(TextEntity entity) TextRestService.handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, TextEntity entity) TextEntity.setError()
TextEntity.setSuccess()
Methods in com.bytedesk.kbase.llm_text that return types with arguments of type TextEntityModifier and TypeMethodDescriptionTextRepository.findByKbase_UidAndDeletedFalse
(String kbUid) TextRestService.findByKbUid
(String kbUid) TextRepository.findByStatusAndVectorStatusNot
(String status, String vectorStatus) 查找状态为指定值但向量状态不是指定值的Text实体org.springframework.data.domain.Page<TextEntity>
TextRestService.queryByOrgEntity
(TextRequest request) static org.springframework.data.jpa.domain.Specification<TextEntity>
TextSpecification.search
(TextRequest request) Methods in com.bytedesk.kbase.llm_text with parameters of type TextEntityModifier and TypeMethodDescriptionTextRestService.convertToExcel
(TextEntity text) TextRestService.convertToResponse
(TextEntity entity) TextVectorService.deleteTextVector
(TextEntity text) 从向量存储中删除文本protected TextEntity
TextRestService.doSave
(TextEntity entity) static TextVector
TextVector.fromTextEntity
(TextEntity text) 从TextEntity创建TextVector实体的静态方法 注意:向量嵌入需要单独计算并设置TextRestService.handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, TextEntity entity) void
TextElasticService.indexText
(TextEntity text) 索引Text实体到Elasticsearchvoid
TextVectorService.indexTextVector
(TextEntity text) 将文本内容添加到向量存储中void
TextEntityListener.onPostPersist
(TextEntity text) void
TextEntityListener.onPostUpdate
(TextEntity text) static TextElastic
TextEntityElasticConverter.toElastic
(TextEntity entity) 将单个 TextEntity 转换为 TextElasticMethod parameters in com.bytedesk.kbase.llm_text with type arguments of type TextEntityModifier and TypeMethodDescriptionvoid
TextRestService.save
(List<TextEntity> entities) static List<TextElastic>
TextEntityElasticConverter.toElasticList
(List<TextEntity> entities) 将 TextEntity 列表转换为 TextElastic 列表 -
Uses of TextEntity in com.bytedesk.kbase.llm_text.event
Fields in com.bytedesk.kbase.llm_text.event declared as TextEntityModifier and TypeFieldDescriptionprivate TextEntity
TextCreateEvent.text
private TextEntity
TextDeleteEvent.text
private TextEntity
TextUpdateDocEvent.text
private TextEntity
TextUpdateEvent.text
Constructors in com.bytedesk.kbase.llm_text.event with parameters of type TextEntityModifierConstructorDescriptionTextCreateEvent
(TextEntity text) TextDeleteEvent
(TextEntity text) TextUpdateDocEvent
(TextEntity text) TextUpdateEvent
(TextEntity text)