SentenceTransformer class, which is a wrapper around the sentence-transformers library.
Installation
Embeddings require thesentence-transformers library. See the Installation Guide for more information.
Embed text using SentenceTransformer embedding models
SentenceTransformer class, which is a wrapper around the sentence-transformers library.
sentence-transformers library. See the Installation Guide for more information.
from chonkie import SentenceTransformerEmbeddings
embeddings = SentenceTransformerEmbeddings("all-MiniLM-L6-v2")
Was this page helpful?