{
  "id": 8826561,
  "title": "Making Chroma Work in Chinese",
  "url": "https://urgent.news/2026/09/21/making-chroma-work-in-chinese",
  "topic": "ai",
  "section": "AI",
  "published": "2026-09-21T02:40:53.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/cheng2zhang/making-chroma-work-in-chinese-57jb"
  },
  "original_language": "en",
  "account": "This article provides instructions for using Chroma, a vector store, with Chinese language text. By default, Chroma's embedding model, all-MiniLM-L6-v2, is limited to English text, resulting in poor performance when fed Chinese input. There are two primary methods to address this issue: using a locally installed model or an online model hosted on a vendor's server.\n\nFor local models, the tutorial recommends BAAI/bge-small-zh-v1.5, a Chinese-specific model that is lightweight and requires less disk space compared to other options. To utilize a local model, one must install the sentence-transformers package and either download the model from huggingface.co or specify a local directory containing the downloaded model.\n\nOnline models, on the other hand, involve making API calls to a vendor's server. This method requires an API key and incurs costs based on the number of queries made.\n\nRegardless of the chosen model, the integration with Chroma remains consistent, as it involves setting the embedding_function argument within the client.create_collection() method. The tutorial outlines the steps necessary to set up both local and online models, ensuring compatibility with Chinese language input.",
  "summary": "Note : This tutorial picks up where Chroma's official quick start guide leaves off. So you've finished Chroma's quick start — congratulations. Everything works, right up until you feed Chroma some Chinese text. Then it doesn't. Chroma's default embedding model, all-MiniLM-L6-v2 , is English-only. Given Chinese or Japanese input, it embeds it as though the language were noise. You need a model…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}