Lev Khoroshansky

Results 68 comments of Lev Khoroshansky

It's the third time this week I've encountered this problem and I still have no good solution in mind. Sometimes it just works, sometimes it doesn't.

Also related: is there a way to check whether a document with some `doc_id` is present in the index? I presume it's the role of `GPTSimpleVectorIndex().docstore.document_exists(doc_id)`?

It seems like `GPTSimpleVectorIndex` ignores the user-specified `Document().doc_id`, because the `docstore.docs` has only uuid V4 ids and no user-provided ones. Although, nodes do have `ref_doc_id` set to user's `doc_id`. Is...

> Hi @TmLev, we do currently have an `update` function - which deletes the doc then inserts. Is that what you'd be looking for? My original question is "what would...

@alexanderniebuhr I haven't, no. Had to completely remove Drizzle from my `backend`, sadly. Have you tried the workaround number 3? It seems promising. UPD: Tried it, doesn't work.

I don't think you should do that, but if it fixes the error...

This is highly frustrating and should've been fixed ages ago.

~~Seems like no, which is unfortunate~~ Scratch that, here is a relevant discussion: https://github.com/robtaussig/react-use-websocket/issues/69