apoc.ml.rag

过程 Apoc 扩展

接收路径列表或向量索引名称、相关属性以及一个自然语言问题,以创建一个实现检索增强生成 (RAG) 技术的提示词 (prompt)。

签名

apoc.ml.rag(paths :: ANY?, attributes :: LIST<STRING>, question :: STRING, conf = {} :: MAP?) :: (value :: STRING?)

输入参数

名称 类型 默认

paths

ANY?

null

属性 (attributes)

LIST<STRING>

null

question

STRING

null

conf

MAP?

{}

输出参数

名称 类型

STRING?

© . This site is unofficial and not affiliated with Neo4j, Inc.