Using createVectorQueryTool in agent configuration throwing TS Error
Hey, I'm using the latest mastra packages and trying to add a vector tool to the agent, but this is throwing a Zod error:
Code:
Tool definition
package.json
documentation: https://mastra.ai/en/examples/rag/usage/filter-rag#vector-query-tool-creation
Example: Agent-Driven Metadata Filtering | Retrieval | RAG | Mastra...
Example of using a Mastra agent in a RAG system to construct and apply metadata filters for document retrieval.
1 Reply
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/9518
GitHub
[DISCORD:1433425201961500712] Using createVectorQueryTool in agent ...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1433425201961500712 Hey, I'm using the latest mastra packages and trying to add a vector tool to the a...