neo4j-contrib/neo4j-apoc-procedures

The apoc.vectordb.weaviate.query and the apoc.vectordb.milvus.query/get should populate the `fields` config with the `metadataKey` if present

vga91 opened this issue · 0 comments

The following procedure should work even without the fields key,
as there is already the metadataKey, so the fields could be defined as ["tmdbId"]

call apoc.vectordb.weaviate.query("movies", 'Movies', embedding, null, 5, {
    fields: [...],
    mapping: { embeddingKey: "embedding", nodeLabel: "Movie", entityKey: "tmdbId", metadataKey: "tmdbId" }
  }
)