- Issue created by @kunal_singh
In the openai_embedding module, we have a plugin for Pinecone which provides some functions to call the necessary APIs of Pinecone. One of them is the fetch query which is responsible for providing the vector data response based on the provided IDs.
As per the pinecone documentation ( Link: https://docs.pinecone.io/docs/manage-data#fetching-records ), one will have to provide the IDs as a query. For multiple IDs, we can add multiple ids params in the request.
However, the code written to fetch the data in the Pinecone plugin is not aligned with the request type mentioned in the doc. The request that we are sending is adding the query like this "ids[0]=entity:35146:node:article:body:0&ids[1]=entity:35147:node:article:body:0&namespace=node:body"
As a result we are not getting any response from the API.
Try to fetch the data from the pinecone using the fetch function provided by the pinecone plugin.
Instead of passing the array we should convert it to a string.
Active
1.0
OpenAI Embeddings