indexers.dataclasses.VectorStoreEmbedOutput

indexers.dataclasses.VectorStoreEmbedOutput(data)

DataFrame-like object for storing and validating embedded vectors and associated metadata.

This class represents the output of embedding operations, containing the original text data along with their computed vector embeddings.

Attributes

Name Type Description
id pd.Series Unique identifier for each embedded item.
text pd.Series The original text that was embedded.
embedding pd.Series The computed vector embedding (numpy array).

Methods

Name Description
from_data Create a validated VectorStoreEmbedOutput from a dictionary or DataFrame.
validate Validate an existing instance against the schema and return a VectorStoreEmbedOutput.

from_data

indexers.dataclasses.VectorStoreEmbedOutput.from_data(data)

Create a validated VectorStoreEmbedOutput from a dictionary or DataFrame.

validate

indexers.dataclasses.VectorStoreEmbedOutput.validate(df)

Validate an existing instance against the schema and return a VectorStoreEmbedOutput.