Embeddings are handled by the Model2VecEmbeddings class, which is a wrapper around the model2vec library.

Installation

Embeddings require the model2vec library. See the Installation Guide for more information.

Usage

from chonkie import Model2VecEmbeddings

embeddings = Model2VecEmbeddings()