VectorStoreInfo
The VectorStoreInfo component lets you create a quick summary of a vector store that you can use elsewhere in your Nappai dashboard. It takes the name, a short description, and the actual vector store object, and then produces a single output that contains all that information in a ready‑to‑use format.
How it Works
When you drop this component into a workflow, you simply fill in the three fields:
- Name – the title you want to give the vector store.
- Description – a short paragraph explaining what the vector store holds or why it’s useful.
- Vector Store – connect the output of another component that provides the actual vector store object.
The component then packages these pieces of data into a VectorStoreInfo
object. No external services are called; everything happens locally inside Nappai.
Inputs
- Vector Store: The actual vector store object that you want to describe.
- Description: A brief explanation of what the vector store contains or its purpose.
- Name: The name you want to assign to the vector store.
Outputs
- Vector Store Info: A single output that holds the name, description, and the vector store object together. This output can be fed into other components that need to display or use the vector store’s metadata.
Usage Example
- Create a vector store – Use a component like CreateVectorStore to build a new vector store from your data.
- Add VectorStoreInfo – Connect the output of CreateVectorStore to the Vector Store input of VectorStoreInfo.
- Fill in Name and Description – Type a friendly name (e.g., “Customer Feedback Store”) and a short description (e.g., “Stores embeddings of all customer feedback for quick retrieval”).
- Use the output – Drag the Vector Store Info output into a DisplayCard component to show the name and description in your dashboard, or pass it to an AI assistant component that can reference the store later.
Related Components
- CreateVectorStore – Builds a new vector store from raw data.
- DisplayCard – Shows text and metadata in a card format on the dashboard.
- VectorStoreQuery – Retrieves data from a vector store using a query.
Tips and Best Practices
- Keep the description short (one or two sentences) so it’s easy to read in dashboards.
- Use consistent naming conventions across your vector stores to make them easier to find later.
- If you have many vector stores, consider adding a tag or category field in the description to help filter them.
Security Considerations
- The component only stores metadata; it does not expose the actual data inside the vector store.
- Ensure that the vector store itself is secured according to your organization’s data‑privacy policies.
- When sharing workflows that include vector store objects, be mindful of any sensitive information that might be embedded in the store’s contents.