LangChain.Databases.Chroma 0.17.0 fails with Chroma 1.x (405/410: the v1 API is gone)
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C#
- Star
- 12
- Fork
- 9
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tryAGI/LangChain.Databases
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
tryAGI/LangChain.Databases#178 · 1 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
Weaviate does not workĐang mởbug dependencies documentation help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
tryAGI/LangChain.Databases#53 · 6 bình luận ·
-
use async methodsĐang mởtodo
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
review way to map metadataĐang mởtodo
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Tất cả issue của tryAGI/LangChain.Databases
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Open-Systems-Pharmacology/OSPSuite.Core#3049 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs attention public-client untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
AzureAD/microsoft-authentication-library-for-dotnet#6242 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
docs: HTML config transform example sets advancedCustomization at a path the UI does not readĐang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
criticalmanufacturing/cli#882 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Dome-Works/DOME#129 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug sev:L
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Systemorph/MeshWeaver#7480 ·
Maintainer thường phản hồi trong vòng 1 ngày