Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#179 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Laurianti ci sta già lavorando.

Dal 7/10/2026.

  • #180 di @Laurianti — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C#
Stelle
12
Fork
9
Merge medio
19m
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tryAGI/LangChain.Databases

Tutte le issue di tryAGI/LangChain.Databases

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.