Skip to contents

Creates a vector collection from a data frame or tibble

Usage

vec(x, embedding_column = "embedding", embedding_fn = NULL, ...)

Arguments

x

A data frame or tibble

embedding_column

Name of column containing embeddings (or to be created)

embedding_fn

Function to generate embeddings (optional)

...

Additional attributes to add to the collection

Value

A tidyvec object