Hey Guys,
Thanks for creating this wonderful extension. I'm trying to integrate this extension to one of our existing databases to be able to perform similarity search and clustering. While I was setting up this extension in my test database, I faced few issues and thought of sharing them and a few suggestions to improve the Dev Experience.
API Key
I'm not entirely sure why (maybe because I'm using macOS) but ALTER DATABASE and ALTER SYSTEM didn't set the Pinecone API Key.
ALTER DATABASE succeeded but didn't actually set the value so running CREATE INDEX failed.
ALTER SYSTEM failed with unrecognized configuration parameter "pinecone.api_key" error
- I was finally able to get it working using
SET pinecone.api_key To 'xxxx' and verifying with SHOW pinecone.api_key
It would be great if all these options were available in README and also how to verify that api_key was set.
Handle https:// in host for CREATE INDEX
I initially ran the following command to create an index, it failed with error curl_easy_perform(): Timeout was reached. The error was not intuitive. Removing https:// worked, having an appropriate error or automatically handing this would be great.
CREATE INDEX my_remote_index
ON products
USING pinecone (embedding)
WITH (host = 'https://xxx.svc.aped-4627-b74a.pinecone.io');
Option to migrate from pgvector to pgvector-remote
Having this option would be great in the long run. I already have a database that uses pgvector. I tried to run ALTER EXTENSION UPDATE to use pgvector-remote in the existing database, postgres threw and exception
extension "vector" has no update path from version "0.6.2" to version "remote0.1.0"
It would be great allowing existing users for pgvector to seamlessly transition to pgvector-remote without having to create a new database and spend hours to migrate from older to newer database.
nit: Installation Instructions
This is a nit pick but the installation instructions were confusing at first glance. I wasn't sure if I had to also running the commands for Milvus or not. I elected to skip them and was able to use pinecone without any issues. Having simple steps to follow would make it easier for dev trying to test. And it would also be great to have instructions for Mac.
Hey Guys,
Thanks for creating this wonderful extension. I'm trying to integrate this extension to one of our existing databases to be able to perform similarity search and clustering. While I was setting up this extension in my test database, I faced few issues and thought of sharing them and a few suggestions to improve the Dev Experience.
API Key
I'm not entirely sure why (maybe because I'm using macOS) but
ALTER DATABASEandALTER SYSTEMdidn't set the Pinecone API Key.ALTER DATABASEsucceeded but didn't actually set the value so runningCREATE INDEXfailed.ALTER SYSTEMfailed withunrecognized configuration parameter "pinecone.api_key"errorSET pinecone.api_key To 'xxxx'and verifying withSHOW pinecone.api_keyIt would be great if all these options were available in README and also how to verify that api_key was set.
Handle
https://in host for CREATE INDEXI initially ran the following command to create an index, it failed with error
curl_easy_perform(): Timeout was reached. The error was not intuitive. Removinghttps://worked, having an appropriate error or automatically handing this would be great.Option to migrate from
pgvectortopgvector-remoteHaving this option would be great in the long run. I already have a database that uses pgvector. I tried to run
ALTER EXTENSION UPDATEto use pgvector-remote in the existing database, postgres threw and exceptionIt would be great allowing existing users for pgvector to seamlessly transition to
pgvector-remotewithout having to create a new database and spend hours to migrate from older to newer database.nit: Installation Instructions
This is a nit pick but the installation instructions were confusing at first glance. I wasn't sure if I had to also running the commands for Milvus or not. I elected to skip them and was able to use pinecone without any issues. Having simple steps to follow would make it easier for dev trying to test. And it would also be great to have instructions for Mac.