Skip to main content
Chroma provides a convenient wrapper around the Text2Vec library. This embedding function runs locally and is particularly useful for Chinese text embeddings.
This embedding function relies on the text2vec python package, which you can install with pip install text2vec.
You can pass in an optional model_name argument. By default, Chroma uses shibing624/text2vec-base-chinese.
Text2Vec is optimized for Chinese text embeddings. For English text, consider using Sentence Transformer or other embedding functions.