PineconeVector not assignable to MastraVector<VectorFilter> in Mastra configuration
Hi, I’m not sure if this is intended or a bug, but passing a
PineconeVector instance into the main Mastra instance under vectors throws this TypeScript error:
Original Code:
Right now, the only way I got it working was by forcing a type assertion. It works at runtime and the queryVectorTool doesn’t complain, but the whole thing feels hacky and I’m not sure if this is actually correct or if PineconeVector is just missing something.
Workaround:
Question:
Is this just a typing mismatch on the @mastra/pinecone side (i.e., PineconeVector not implementing MastraVector properly), or is the expected usage different?
Package Versions:
4 Replies
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10144
GitHub
PineconeVector not assignable to MastraVector<VectorFilter> in Mast...
This issue was created from Discord post 1439505969091711098: Hi, I’m not sure if this is intended or a bug, but passing a PineconeVector instance into the main Mastra instance under vectors throws...
Hi @kareulo, we had an issue in the vector type. PR here https://github.com/mastra-ai/mastra/issues/10144
Thanks for reporting this!
GitHub
PineconeVector not assignable to MastraVector<VectorFilter> in Mast...
This issue was created from Discord post 1439505969091711098: Hi, I’m not sure if this is intended or a bug, but passing a PineconeVector instance into the main Mastra instance under vectors throws...
Thank you! When is the expected date this will be released if you don't mind me asking?
Should be released today in 0.x and 1.0.0-beta versions