neo4j-contrib / neo4j-apoc-procedures

Awesome Procedures On Cypher for Neo4j - codenamed "apoc"                     If you like it, please ★ above ⇧            
https://neo4j.com/labs/apoc
Apache License 2.0
1.72k stars 493 forks source link

The apoc.vectordb.configure(WEAVIATE', ..) procedure should append `/v1` to url #4232

Open vga91 opened 1 week ago

vga91 commented 1 week ago

The apoc.vectordb.configure(WEAVIATE', ..) procedure should append /v1 to url

CALL apoc.vectordb.configure('WEAVIATE', 'movies', 'neo4j',
  {
    mapping: { embeddingKey: "embedding", nodeLabel: "Movie", entityKey: "tmdbId", metadataKey: "tmdbId" },
    host: "https://<myHost>.weaviate.network/",
    credentials: 'myCredentialKey'
}
)

Expected Behavior (Mandatory)

Executing

CALL apoc.vectordb.weaviate.queryAndUpdate('myCredentialKey', 'TestCollection', [0.2, 0.1, 0.9, 0.7], null, 5, $conf)

should call the API URL:

https://<myHost>.weaviate.network/v1/

Actual Behavior (Mandatory)

It calls the API URL:

https://<myHost>.weaviate.network/