- Issue created by @fishfree
- 🇳🇱Netherlands djschoone Breda
Have found this issue too. Not yet found why this happens.
- 🇨🇳China fishfree
I tried to change the configuration with devel module on page /devel/config/edit/openai_embeddings.settings as below:
model: text-embedding-ada-002 vector_client_plugin: pinecone vector_clients: milvus: hostname: ******-97aae5e.svc.gcp-starter.pinecone.io token: dbaa89***********49a0e36f
Now clicking "Index items", it showed errors as below:
Exception: Either "source_ids" to delete or "deleteAll" is required by Pinecone in Drupal\openai_embeddings\Plugin\openai_embeddings\vector_client\Pinecone->delete() (line 166 of /var/www/html/mysite/web/modules/contrib/openai/modules/openai_embeddings/src/Plugin/openai_embeddings/vector_client/Pinecone.php).
When I view the page /admin/config/openai/openai-embeddings/settings, surprisingly, the API Key and Hostname fields are still empty!
- Status changed to Postponed: needs info
10 months ago 6:04am 12 March 2024 - 🇬🇧United Kingdom scott_euser
Pinecone changed their free version, looking at your screenshot you do not seem to have 📌 Revert no namespace support for Pinecone starter plan Fixed in place - I think that should sort it for you. Please re-open if not.
- 🇬🇧United Kingdom scott_euser
Ah and it seems your config has `milvus` set as the embeddings plugin, yet pinecone details stored in it
vector_clients: milvus:
- 🇨🇳China fishfree
@scott_euser Thank you for pointing it out. I changed vectgor_clients to pinecone with devel on path
/devel/config/edit/openai_embeddings.settings
, the error still occurred as #3.On the UI page
/admin/config/openai/openai-embeddings/settings
, the token field is still empty, and cannot be saved by inputting and clicking the "Save configuration" button, neither the "Disable namespace" checkbox state. - 🇳🇱Netherlands Tr4nzNRG
I have te same issue when trying to save the Pinecone API key and hostname:
cURL error 3: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for /describe_index_stats
If I use curl from command line I do get a response:
curl -X GET "https://xxxxxxx.pinecone.io/describe_index_stats" -H "Api-Key: xxxxx"
{"namespaces":{},"dimension":1536,"indexFullness":0,"totalVectorCount":0}[2024-05-17 09:40:35]
Not sure what could be wrong.