Closed HelgeSverre closed 1 year ago
Workaround is to use to build the query:
GuzzleHttp\Psr7\Query::build(["ids" => $ids])
confirmed @HelgeSverre , will fix.
Closed with a dirty & ugly workaround by adding a guzzle middleware to the connector. Maybe @Sammyjo20 from Saloon has a better idea.
The current implementation of the pinecone-php package constructs the URL for fetching vectors in a format that is not compatible with the Pinecone API. The package generates a URL like this:
However, the Pinecone API expects the URL to have multiple "ids" parameters, like this:
Note the
ids=1&ids=2
, this is apparently valid and expected, news to me, not much we can do about it...