UNPKG

@mastra/core

Version:

Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.

22 lines (13 loc) 549 B
# Mastra.listVectors() The `.listVectors()` method is used to retrieve all vector stores that have been configured in the Mastra instance. ## Usage example ```typescript mastra.listVectors() ``` ## Parameters This method doesn't accept any parameters. ## Returns **vectors** (`TVectors`): A record of all configured vector stores, where keys are vector store names and values are vector store instances. ## Related - [Vector stores overview](https://mastra.ai/docs/rag/vector-databases) - [RAG overview](https://mastra.ai/docs/rag/overview)