mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
adelete does not delete embeddings #79
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LuchiLucs on GitHub (Jun 26, 2025).
Using langchain-postgres v0.0.13
Calling the code:
Checking before/after the method call, the embeddings are still on the table. I tried also
collection_only = False. Am I doing something wrong with my tests (tried disabling cache of my database client and revalidating connection, but the data seems to be still there).Can someone replicate the issue?
@LuchiLucs commented on GitHub (Jun 26, 2025):
Asking to delete, I compiled the low-level query and I found out I was using an ID saved on the metadata and not the actual ID.