Uses of Class
com.bytedesk.kbase.faq.FaqEntity
Packages that use FaqEntity
Package
Description
ByteDesk 标签管理包
提供标签的CRUD、搜索等功能
-
Uses of FaqEntity in com.bytedesk.kbase.faq
Fields in com.bytedesk.kbase.faq with type parameters of type FaqEntityMethods in com.bytedesk.kbase.faq that return FaqEntityModifier and TypeMethodDescriptionFaqRestService.convertExcelToFaq(FaqExcel excel, String kbType, String fileUid, String kbUid, String orgUid) protected FaqEntityFaqRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, FaqEntity entity) FaqEntity.setError()FaqEntity.setSuccess()Methods in com.bytedesk.kbase.faq that return types with arguments of type FaqEntityModifier and TypeMethodDescriptionFaqRepository.findByKbase_UidAndDeletedFalse(String kbUid) FaqRestService.findByKbUid(String kbUid) FaqRepository.findByQuestionContains(String question) FaqRestService.findByQuestionContains(String question) FaqRepository.findRandomFaq(int limit) 获取随机FAQ,用于测试FaqRestService.findRandomFaq()获取一个随机FAQ,用于测试org.springframework.data.domain.Page<FaqEntity>FaqRestService.queryByOrgEntity(FaqRequest request) static org.springframework.data.jpa.domain.Specification<FaqEntity>FaqSpecification.search(FaqRequest request) Methods in com.bytedesk.kbase.faq with parameters of type FaqEntityModifier and TypeMethodDescriptionFaqRestService.convertToExcel(FaqEntity faq) FaqRestService.convertToResponse(FaqEntity entity) protected FaqEntityFaqRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, FaqEntity entity) voidFaqEntityListener.onPostPersist(FaqEntity faq) voidFaqEntityListener.onPostUpdate(FaqEntity faq) Method parameters in com.bytedesk.kbase.faq with type arguments of type FaqEntity -
Uses of FaqEntity in com.bytedesk.kbase.faq.batch
Methods in com.bytedesk.kbase.faq.batch that return FaqEntityModifier and TypeMethodDescription处理每一条Excel中的FAQ数据Method parameters in com.bytedesk.kbase.faq.batch with type arguments of type FaqEntity -
Uses of FaqEntity in com.bytedesk.kbase.faq.elastic
Methods in com.bytedesk.kbase.faq.elastic with parameters of type FaqEntityModifier and TypeMethodDescriptionstatic FaqElasticFaqElastic.fromFaqEntity(FaqEntity faq) void索引FAQ实体到Elasticsearch -
Uses of FaqEntity in com.bytedesk.kbase.faq.event
Fields in com.bytedesk.kbase.faq.event declared as FaqEntityModifier and TypeFieldDescriptionprivate FaqEntityFaqCreateEvent.faqprivate FaqEntityFaqDeleteEvent.faqprivate FaqEntityFaqUpdateDocEvent.faqprivate FaqEntityFaqUpdateEvent.faqConstructors in com.bytedesk.kbase.faq.event with parameters of type FaqEntityModifierConstructorDescriptionFaqCreateEvent(FaqEntity faq) FaqDeleteEvent(FaqEntity faq) FaqUpdateEvent(FaqEntity faq) -
Uses of FaqEntity in com.bytedesk.kbase.faq.mq
Methods in com.bytedesk.kbase.faq.mq with parameters of type FaqEntityModifier and TypeMethodDescriptionFaqIndexConsumer.deleteFaqVector(FaqEntity faq) 在完全独立事务中删除向量索引private voidFaqIndexConsumer.handleDeleteOperation(FaqEntity faq, FaqIndexMessage message) 处理删除操作 将全文索引和向量索引的删除操作分开处理private voidFaqIndexConsumer.handleIndexOperation(FaqEntity faq, FaqIndexMessage message) 处理索引操作 将全文索引和向量索引的操作分开处理,避免一个操作失败影响另一个操作FaqIndexConsumer.indexFaqVector(FaqEntity faq) 在完全独立事务中创建向量索引voidFaqIndexConsumer.processElasticIndex(FaqEntity faq) 在单独事务中处理全文索引FaqIndexConsumer.processVectorDelete(FaqEntity faq) 在单独事务中处理向量索引删除voidFaqIndexConsumer.processVectorIndex(FaqEntity faq) 在单独事务中处理向量索引 -
Uses of FaqEntity in com.bytedesk.kbase.faq.vector
Methods in com.bytedesk.kbase.faq.vector with parameters of type FaqEntityModifier and TypeMethodDescriptionFaqVectorService.deleteFaqVector(FaqEntity faq) 从向量存储中删除FAQstatic FaqVectorFaqVector.fromFaqEntity(FaqEntity faq) 从FaqEntity创建FaqVector实体的静态方法 注意:向量嵌入需要单独计算并设置voidFaqVectorService.indexFaqVector(FaqEntity faq) 将FAQ内容添加到向量存储中 -
Uses of FaqEntity in com.bytedesk.kbase.settings
Fields in com.bytedesk.kbase.settings with type parameters of type FaqEntityModifier and TypeFieldDescriptionServiceSettings.faqsServiceSettings.guessFaqsServiceSettings.hotFaqsServiceSettings.proactiveFaqsServiceSettings.quickFaqsServiceSettings.shortcutFaqsServiceSettings.welcomeFaqs -
Uses of FaqEntity in com.bytedesk.kbase.utils
Methods in com.bytedesk.kbase.utils with parameters of type FaqEntityModifier and TypeMethodDescriptionstatic FaqResponseKbaseConvertUtils.convertToFaqResponse(FaqEntity entity) static FaqResponseSimpleKbaseConvertUtils.convertToFaqResponseSimple(FaqEntity entity) -
Uses of FaqEntity in com.bytedesk.service.message_rating
Methods in com.bytedesk.service.message_rating with parameters of type FaqEntityModifier and TypeMethodDescriptionprivate voidMessageRatingService.updateFaqRateCount(FaqEntity faqEntity, MessageStatusEnum rateStatus) 根据评分状态更新FAQ的计数