提供知识检索相关的接口。
引用文件: #include "dataaugmentation/retrieval/aip_retrieval.h"
库: libretrieval_ndk.so
系统能力: SystemCapability.DataAugmentation.Retrieval
起始版本: 6.0.0(20)
相关模块: Retrieval
| 名称 | 描述 |
|---|---|
| typedef struct OH_Retrieval_Retriever OH_Retrieval_Retriever | 定义检索器类型,检索器是进行检索的句柄。 |
| typedef struct OH_Retrieval_Config OH_Retrieval_Config | 定义检索器配置。 |
| typedef struct OH_Retrieval_DbConfig OH_Retrieval_DbConfig | 定义一个用于打开数据库存储的数据库配置。 |
| typedef enum Retrieval_Channel_Type Retrieval_Channel_Type | 定义数据索引类型,目前仅包含向量索引数据。 |
| typedef void(* OH_Retrieval_Callback) (void *context, OH_Retrieval_Record *record, int errCode) | 检索结果记录的回调函数。 |