Chroma · Schema

Chroma Record

A Chroma record represents a single item stored in a collection, consisting of an embedding vector, optional document text, optional metadata, and an optional URI reference.

AIAI NativeApache 2.0CloudEmbeddingsHybrid SearchJavaScriptLLMMachine LearningMulti-ModalOpen SourcePythonRAGRetrievalSDKSearchServerlessTypeScriptVector Database

Properties

Name Type Description
id string A unique identifier for the record within the collection. Must be unique across all records in the collection.
embedding arraynull The vector embedding for this record. Each element is a floating point number representing a dimension of the embedding space.
document stringnull The text document associated with this record. If provided without an embedding, the server will automatically generate an embedding from the document text.
metadata objectnull Key-value metadata associated with the record. Values can be strings, numbers, integers, or booleans. Metadata is searchable using where filters.
uri stringnull An optional URI reference associated with the record, typically pointing to the source content or an external resource.
View JSON Schema on GitHub