public class WxAispeechKnowledgeServiceImpl extends Object implements WxAispeechKnowledgeService
| 构造器和说明 |
|---|
WxAispeechKnowledgeServiceImpl(WxAispeechServiceImpl service) |
public WxAispeechKnowledgeServiceImpl(WxAispeechServiceImpl service)
public KnowledgeInfo createKnowledgeByFile(String knowledgeBaseId, File file, String title, String description, String metadata) throws WxErrorException
createKnowledgeByFile 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic KnowledgeInfo createKnowledgeByUrl(String knowledgeBaseId, KnowledgeUrlCreateRequest request) throws WxErrorException
createKnowledgeByUrl 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic KnowledgeInfo createKnowledgeByManual(String knowledgeBaseId, KnowledgeManualCreateRequest request) throws WxErrorException
public List<KnowledgeInfo> listKnowledge(String knowledgeBaseId, Integer page, Integer pageSize) throws WxErrorException
listKnowledge 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic List<KnowledgeInfo> listKnowledgeByIds(List<String> knowledgeIds) throws WxErrorException
listKnowledgeByIds 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic KnowledgeInfo getKnowledge(String knowledgeId) throws WxErrorException
getKnowledge 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic KnowledgeInfo updateKnowledge(String knowledgeId, KnowledgeUpdateRequest request) throws WxErrorException
updateKnowledge 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic KnowledgeInfo updateManualKnowledge(String knowledgeId, KnowledgeManualCreateRequest request) throws WxErrorException
updateManualKnowledge 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic boolean deleteKnowledge(String knowledgeId) throws WxErrorException
deleteKnowledge 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic boolean updateKnowledgeTags(List<String> knowledgeIds, Long tagId) throws WxErrorException
updateKnowledgeTags 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic List<KnowledgeInfo> searchKnowledge(String keyword, String knowledgeBaseId, Integer page, Integer pageSize) throws WxErrorException
searchKnowledge 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic String moveKnowledge(KnowledgeMoveRequest request) throws WxErrorException
moveKnowledge 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic KnowledgeMoveProgress getMoveProgress(String taskId) throws WxErrorException
getMoveProgress 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic boolean createKnowledgeBaseTag(String knowledgeBaseId, KnowledgeTagRequest request) throws WxErrorException
createKnowledgeBaseTag 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic boolean updateKnowledgeBaseTag(String knowledgeBaseId, String tagId, KnowledgeTagRequest request) throws WxErrorException
updateKnowledgeBaseTag 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic String postRaw(String path, Object requestBody) throws WxErrorException
postRaw 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionpublic String getRaw(String path, Map<String,String> queryParams) throws WxErrorException
getRaw 在接口中 WxAispeechKnowledgeServiceWxErrorExceptionCopyright © 2026. All rights reserved.