apoc.vectordb.weaviate.query
过程 Apoc 扩展
从指定的 vector 中检索最相似的向量,返回 limit 数量的结果,检索目标为第 2 个参数指定的集合名称
签名
apoc.vectordb.weaviate.query(hostOrKey :: STRING, collection :: STRING, vector = [] :: LIST<FLOAT>, filter = {} :: MAP?, limit = 10 :: INTEGER, configuration = {} :: MAP?) :: (value :: MAP?)
输入参数
| 名称 | 类型 | 默认 |
|---|---|---|
hostOrKey |
STRING |
null |
collection |
STRING |
null |
向量 (vector) |
LIST<FLOAT> |
[] |
filter |
MAP? |
{} |
limit |
INTEGER(整数) |
10 |
配置 |
MAP? |
{} |