Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

LangChain.Databases.Chroma 0.17.0 fails with Chroma 1.x (405/410: the v1 API is gone)

已关闭
#179 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@Laurianti 已经在做这个了。

开始于 2026年10月7日。

  • #180 来自 @Laurianti —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp
领域
databases

调研方向

Start from the existing Chroma implementation in the repo (the LangChain.Databases.Chroma package and its tests, currently backed by Microsoft.SemanticKernel.Connectors.Chroma) and from Microsoft.Extensions.VectorData's provider shape, which the issue names as the target. Reproduce against chromadb/chroma:1.5.9 to confirm the 405/410 failures, then port the collection create/exists/get operations to the v2 API behind a VectorData provider so the existing tests pass on 1.5.9. Note a pull request (#180) already implements this and is open, so check that thread before starting — the issue alone does not define scope beyond it.

由索引模型根据 Issue 内容生成。

描述

LangChain.Databases.Chroma 0.17.0, the latest stable on NuGet, does not work with Chroma 1.x. It talks to the v1 API of Chroma through Microsoft.SemanticKernel.Connectors.Chroma, and Chroma 1.x serves only the v2 API. Against chromadb/chroma:1.5.9:

  • CreateCollectionAsync: HttpOperationException: Response status code does not indicate success: 405 (Method Not Allowed).
  • IsCollectionExistsAsync: HttpOperationException: ... 410 (Gone).
  • GetCollectionAsync: InvalidOperationException: Collection not found, with the same 410 Gone inside.

The same code works against Chroma 0.5.15, the last release with only the v1 API.

Since LangChain.Databases moved to Microsoft.Extensions.VectorData, Chroma can come back through a Microsoft.Extensions.VectorData provider for Chroma, with the existing tests. A pull request that does this, with the tests passing on Chroma 1.5.9, follows. The old package could then be deprecated on NuGet in favor of that provider.

主要语言
C#
星标
12
派生
9
平均合并
1 天 14 小时
30 天内合并 PR
5

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

tryAGI/LangChain.Databases 的其他 Issue

查看 tryAGI/LangChain.Databases 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。