pinecone
pinecone copied to clipboard
Fix query
It appeared that the URL for query operation shouldn't contain /vectors
path component. It should be just
POST https://{index_host}/query
The below line that was producing an incorrect URL:
post_vector("query", name, body, opts[:config])