indexers.dataclasses.VectorStoreEmbedInput

indexers.dataclasses.VectorStoreEmbedInput(data)

DataFrame-like object for forming and validating text data to be embedded.

This class validates and represents input texts that will be converted to vector embeddings by the vector store.

Attributes

Name Type Description
id pd.Series Unique identifier for each text item.
text pd.Series The text content to be embedded.

Methods

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

from_data

indexers.dataclasses.VectorStoreEmbedInput.from_data(data)

Create a validated VectorStoreEmbedInput from a dictionary or DataFrame.

validate

indexers.dataclasses.VectorStoreEmbedInput.validate(df)

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