LangChain.Databases.Chroma 0.17.0 fails with Chroma 1.x (405/410: the v1 API is gone)
维护者通常 1 天内回复
评估
调研方向
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 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tryAGI/LangChain.Databases 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
tryAGI/LangChain.Databases#178 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 20/100
tryAGI/LangChain.Databases#84 ·
维护者通常 1 天内回复
-
bug dependencies documentation help wanted
难度 4/5 3-5 天 新手友好度 35/100
tryAGI/LangChain.Databases#53 · 6 条评论 ·
维护者通常 1 天内回复
-
todo
难度 4/5 3-5 天 新手友好度 35/100
tryAGI/LangChain.Databases#15 ·
维护者通常 1 天内回复
-
todo
难度 3/5 1-2 天 新手友好度 35/100
tryAGI/LangChain.Databases#4 ·
维护者通常 1 天内回复
查看 tryAGI/LangChain.Databases 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
ready-for-agent size:S status:todo
难度 2/5 1-3 小时 新手友好度 82/100
elsa-workflows/elsa-foundation#2830 ·
维护者通常 1 天内回复
-
Review - Maintainer WG-Maintainers-Build
难度 2/5 1-3 小时 新手友好度 62/100
PowerShell/PowerShell#28220 · 1 条评论 ·
维护者通常 1 天内回复
-
area: docs eco: dotnet good first issue help wanted lane: free-agent roadmap size: XS type: docs
难度 2/5 1 小时以内 新手友好度 72/100
arminazimi/evergreen#377 ·
维护者通常 1 天内回复
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复