LangChain.Databases.Chroma 0.17.0 fails with Chroma 1.x (405/410: the v1 API is gone)
評価
調査の方向性
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時間 1分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tryAGI/LangChain.Databases のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
tryAGI/LangChain.Databases#178 · コメント 1 件 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
bug dependencies documentation help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
tryAGI/LangChain.Databases#53 · コメント 6 件 ·
-
use async methodsオープンtodo
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
todo
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
tryAGI/LangChain.Databases の issue をすべて見る
似ている issue
-
:watch: Not Triaged async-task-programming/subsvc dotnet-csharp/svc
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
Python: Bug: AnnotationContent and StreamingAnnotationContent to_element writes CitationType.X, so annotations in a rendered chat history fail to parse対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンpython triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
microsoft/semantic-kernel#14590 ·
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
Needs-Triage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
PowerShell/PowerShell#28194 ·
メンテナーはふだん 1 日以内に返信
-
AI Projects Client customer-reported needs-team-attention question Service Attention
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Azure/azure-sdk-for-net#63804 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信