Metadata
Metadata feature allows you to store context with your vectors to make a connection. There can be a couple of uses of this:- You can put the source of the vector in the metadata to use in your application from the query response.
- You can put some metadata to further filter the results upon the query.
- Query Example
- Range Example
Data
Data is another kind of information you can store per vector to attribute some context to it. Compared to metadata, it is not structured, and it can only be fetched in queries, not used to further filter them. It is especially useful when you upsert raw text data, so that you would have access to the textual form of vector along with the embedded vector values. It can save you from storing contextual information per vector in a separate database. You can set both the metadata and data, or only one of them while upserting your vectors as follows:includeData
to true
as
shown above.