Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vectorstores: add Replacement option #1062

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Sep 24, 2024

  1. vectorstores: add Replacement option

    The changes introduce a `Replacement` member to the vectorstores
    options. This option can be used in `AddDocuments` function.
    When Replacement is set to `true`, AddDocuments function will
    delete old record with the same Metadata attribute. (i.e to cover
    or to replace).
    When Replacement is set to `false`(default case), AddDocuments
    function will simply add documents without checking existing
    document records.
    creeper12356 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    8ffd9dd View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. vectorstores: add doc and test for Replacement opt

    - add doc for `WithReplacement` opt
    - add test in pgvector_test
    creeper12356 committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    700e66a View commit details
    Browse the repository at this point in the history
  2. fix: lint

    creeper12356 committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    ab5e2e0 View commit details
    Browse the repository at this point in the history