.NET libraries for Chroma, the open-source vector database, and Chroma Cloud. Website: chromadotnet.org.
| Repository | Package | |
|---|---|---|
| ChromaDB.Client | The client for the Chroma v2 API and Chroma Cloud, tested with Chroma 0.4.10 to 1.5.9. It continues ssone95/ChromaDB.Client. | |
| CommunityToolkit/AI | The Chroma provider for Microsoft.Extensions.VectorData, in the AI Community Toolkit, built on ChromaDotNet.Client. Hybrid search on Chroma Cloud. It started here as ChromaDotNet.VectorData and was contributed to the toolkit of the .NET Foundation. | |
| ChromaDB.Testcontainers | A Testcontainers for .NET module: a throwaway Chroma container in your tests. | |
| ChromaDB.Local | Chroma on your machine, without Docker and without Python: the Chroma executable as a child process of your app. Preview. | |
| ChromaDB.Embeddings | The default embedding function of Chroma: all-MiniLM-L6-v2, the same vectors as the Python client. Preview. | |
| ChromaDB.Aspire | Aspire integrations: Chroma in the AppHost, and the client in your services. |
Samples:
- ChromaDB.SemanticKernel.Sample: Semantic Kernel samples with Chroma as the vector store.
- ChromaDB.AgentFramework.Sample: Microsoft Agent Framework samples with Chroma as the vector store.
Used by:
- CommunityToolkit.VectorData.Chroma: the Chroma provider for Microsoft.Extensions.VectorData, in the AI Community Toolkit of the .NET Foundation.
- Used by:
- Generative AI for Beginners .NET: a RAG sample in the Microsoft course.
- LangChain .NET: a RAG sample with Chroma.
- LangChain.Databases: the integration tests.
- Cited in:
- Semantic Kernel: recommended for Chroma in .NET.
- LangChain.Databases: recommended for Chroma in its README.
- Microsoft Agent Framework: listed among the .NET community projects.
- Used by:
- CommunityToolkit.Aspire.Chroma: the Chroma client integration, in the Aspire Community Toolkit of the .NET Foundation.
- BotSharp.Plugin.Chroma: the Chroma vector database plugin of BotSharp, by SciSharp.
- LlmTornado.VectorDatabases.ChromaDB: the Chroma connector of LLM Tornado.
On the way:
- eShopLite: the Azure sample's Chroma scenario moves to ChromaDotNet.Client, which fixes it on Chroma 1.x.
- Testcontainers for .NET: a Chroma module, tested with ChromaDotNet.Client.
- Semantic Kernel samples: Chroma in the multi-store vector search sample and in the VectorStoreRAG demo, through CommunityToolkit.VectorData.Chroma.
- Semantic Kernel documentation: the C# page of the Chroma connector, through CommunityToolkit.VectorData.Chroma.
- Chroma documentation: Semantic Kernel and Agent Framework pages for .NET, through CommunityToolkit.VectorData.Chroma.
This is a community project. It is not affiliated with or endorsed by Chroma.