apoc.vectordb.chroma.queryAndUpdate
过程 Apoc 扩展
从定义的 vector 中检索最近的向量,获取指定数量(limit)的结果,并在第 2 个参数指定的集合中检索,同时可选择性地创建/更新 Neo4j 实体
签名
apoc.vectordb.chroma.queryAndUpdate(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? |
{} |