Uses of Class
com.bytedesk.kbase.llm_text.TextEntity
Packages that use TextEntity
Package
Description
-
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 TextEntityTextRestService.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 TypeMethodDescriptionprotected org.springframework.data.jpa.domain.Specification<TextEntity>TextRestService.createSpecification(TextRequest request) protected org.springframework.data.domain.Page<TextEntity>TextRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<TextEntity> spec, org.springframework.data.domain.Pageable pageable) TextRepository.findByElasticStatusAndVectorStatusNot(String elasticStatus, String vectorStatus) 查找状态为指定值但向量状态不是指定值的Text实体TextRepository.findByKbase_UidAndDeletedFalse(String kbUid) TextRestService.findByKbUid(String kbUid) static org.springframework.data.jpa.domain.Specification<TextEntity>TextSpecification.search(TextRequest request, AuthService authService) Methods in com.bytedesk.kbase.llm_text with parameters of type TextEntityModifier and TypeMethodDescriptionTextRestService.convertToExcel(TextEntity text) TextRestService.convertToResponse(TextEntity entity) protected TextEntityTextRestService.doSave(TextEntity entity) TextRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, TextEntity entity) voidTextEntityListener.onPostPersist(TextEntity text) voidTextEntityListener.onPostUpdate(TextEntity text) Method parameters in com.bytedesk.kbase.llm_text with type arguments of type TextEntityModifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<TextEntity>TextRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<TextEntity> spec, org.springframework.data.domain.Pageable pageable) voidTextRestService.save(List<TextEntity> entities) -
Uses of TextEntity in com.bytedesk.kbase.llm_text.elastic
Methods in com.bytedesk.kbase.llm_text.elastic with parameters of type TextEntityModifier and TypeMethodDescriptionstatic TextElasticTextElastic.fromEntity(TextEntity entity) 将单个 TextEntity 转换为 TextElasticvoidTextElasticService.indexText(TextEntity text) 索引Text实体到ElasticsearchMethod parameters in com.bytedesk.kbase.llm_text.elastic with type arguments of type TextEntityModifier and TypeMethodDescriptionstatic List<TextElastic>TextElastic.fromEntityList(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 TextEntityTextCreateEvent.textprivate TextEntityTextDeleteEvent.textprivate TextEntityTextUpdateDocEvent.textprivate TextEntityTextUpdateEvent.textConstructors in com.bytedesk.kbase.llm_text.event with parameters of type TextEntityModifierConstructorDescriptionTextCreateEvent(TextEntity text) TextDeleteEvent(TextEntity text) TextUpdateDocEvent(TextEntity text) TextUpdateEvent(TextEntity text) -
Uses of TextEntity in com.bytedesk.kbase.llm_text.vector
Methods in com.bytedesk.kbase.llm_text.vector with parameters of type TextEntityModifier and TypeMethodDescriptionTextVectorService.deleteTextVector(TextEntity text) 从向量存储中删除文本static TextVectorTextVector.fromTextEntity(TextEntity text) 从TextEntity创建TextVector实体的静态方法 注意:向量嵌入需要单独计算并设置voidTextVectorService.indexTextVector(TextEntity text) 将文本内容添加到向量存储中