The ingestion is completed but when tried to fetch a query it shows me this error:
error [Error: PineconeClient: Error calling query: Error: PineconeClient: Error calling queryRaw: FetchError: The request failed and the interceptors did not return an alternative response]
Similar problem – code is NodeJS run fine as a console app, but produces this error when run from within a VueJS app in the browser. It has to be an environment issue.
pIndex is initialized correctly:
// get top 10 matched from pinecone
let queryResponse: QueryResponse = await pIndex.query({
queryRequest: {
topK: 10,
vector: queryEmbedding,
includeMetadata: true,
includeValues: true,
},
});