Skip to main content

Set Up Macrometa as a Vector Store

Implementing Macrometa as a vector store begins with adding your vectors to a collection. This section explains that process.

Prerequisites

  • A Macrometa account with sufficient permissions to create collections.
  • If you plan to interact with Macrometa programmatically, ensure that your development environment is set up with the necessary software dependencies, such as Python or Node.js, and the respective SDKs or API clients. For more information, refer to SDKs, APIs, and Command Line Interface.
note

All commands required to use Macrometa as a vector store are supported by the API, but semantic search is not supported by SDKs or CLI. However, all CRUD commands for document collections, where the vectors are stored, are supported by all three methods.

Before You Begin

A bit of planning and practice before you begin will make the vector store setup much easier.

Familiarize Yourself with Macrometa

Before you begin setting up your vector store in Macrometa, we recommend completing the Quickstart so that you are familiar with basic Macrometa tasks. The quickstart walks you through a simple exercise of creating and querying a collection.

Also consider completing the following tutorials:

Are Your Vectors Stored in an External Database?

If so, then you might be able to use them as an external source using Macrometa's Connections feature. Make sure they have a common schema and they are stored in a supported data source.

A connection source must be set up when you create the collection, so make sure everything in the source is prepared for import into Macrometa before you begin the process.

For more information, refer to Connections.

Will Vectors be Streaming into the Collection?

In order to better understand Macrometa streams and stream workers, consider completing the following tutorials:

Create a Collection to Store Vectors

In Macrometa, data is organized into collections, akin to tables in a relational database. To start using Macrometa as a vector store, you'll first need to create a new collection.

  • If you are using an external data source, then follow the instructions in Create a Data Source Workflow. You can only perform this task if you have the Connections feature enabled.
  • If you plan to import your data using a different method, then follow the instructions in Create a Document Store. This page provides several methods for creating the document collection, so you can choose the one that best suits your workflow.

Import Vector Data

With your collection created, the next step is to import your vectorized data. Data can be imported via the dashboard or programmatically. You can: