Skip to content

adelete does not delete embeddings #225

@LuchiLucs

Description

@LuchiLucs

Using langchain-postgres v0.0.13

Calling the code:

    my_name = "..." # Str
    my_id = "..." # Str
    pg_vector = PGVector(..., collection_name=my_name)
    await pg_vector.adelete(
        ids=[my_id],
        collection_only=True,
    )

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions