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

UPDATED: Added support for Azure #6

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Jun 15, 2023

  1. UPDATED: Added support for Azure and API key

    - Added properties `azureProxy`, `azureEndpoint`, `azureApiKey`, and `openAIEndpoint` to the `VectorStorage` class
    - Modified the constructor to accept these new options
    - UpdatedembedTexts` function to use the Azure endpoint and API key if provided, or fallback to the OpenAI API key
    - Adjusted the code to handle the different scenarios for API key and endpoint
    - Updated the `IVSOptions` interface to include the new options
    swiecki committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    f217c5f View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Configuration menu
    Copy the full SHA
    9d25279 View commit details
    Browse the repository at this point in the history
  2. UPDATED: method VectorStorage class.

    - The clearAll method clears all documents in the clearing the documents, the updated storage is saved to IndexDB.
    swiecki committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    ec49de2 View commit details
    Browse the repository at this point in the history
  3. UPDATED: method VectorStorage class.

    - The clearAll method clears all documents in the clearing the documents, the updated storage is saved to IndexDB.
    swiecki committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    8d4c6db View commit details
    Browse the repository at this point in the history
  4. UPDATED: to VectorStorage

    - Implemented clearMatching method in VectorStorage class, which removes matching documents based on filter options
    swiecki committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    baed280 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2023

  1. UPDATED: VectorStorage class now has a method to retain matching docu…

    …ments.
    
    - Added new method `retainMatching to the VectorStorage class.
    - This method filters the documents based on the given filter options.
    - The filtered documents are stored in the `documents` property.
    - After filtering, documents are saved to the index DB storage.
    swiecki committed Jun 17, 2023
    Configuration menu
    Copy the full SHA
    c1c71a5 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2023

  1. UPDATED: Changes to filterDocuments function in helpers.ts- Modified …

    …the matchesCriteria function to handle arrays in the criteria metadata
    
    - If the criteria metadata value is an array, it checks if the document metadata value is included in the array; otherwise, it checks for strict equality
    - This allows for more flexible filtering options for documents based on metadata
    swiecki committed Jun 18, 2023
    Configuration menu
    Copy the full SHA
    63b3012 View commit details
    Browse the repository at this point in the history