Abraxas-365 / Abraxas-365/langchain-rust

Qdrant vector store add_document return different pointId's

Offen
#312 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
1.3k
Forks
177
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have a RAG App where i'm storing chunks into a qdrant DB via a langchain vectore_store. Because it's fixed to store only a metadata and page_content as a document entry into a qdrant DB i need to store another field into a payload. I figure that if I add new documents and get documents points ID's I could just updatePayload on those points and add new fields.
Unfortunately unique IDs are created in that vectore store struct and does not coresponding with ID's that these points are stored in the DB. Completely different.

Steps to reproduce the behavior:
1. create a new vectore_store via StoreBuilder using a qdrant client
2. add some document into that storage -> vectore_store.add_documents(...)
3. try search qdrant DB with those points ID's returned from add_document fn call -> no results
4. check ID's from add_document fn call -> check ID's in qdrant DB -> totally different

**Expected behavior**
I do expect that those points ID's will return valid points ID's that are in DB

**Desktop (please complete the following information):**
- OS: Linux Arch

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.