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

feat(google-vertexai): Support Non-Google and Model Garden models in Vertex AI - Anthropic integration #6999

Merged
merged 97 commits into from
Nov 12, 2024

Commits on Jun 16, 2024

  1. Configuration menu
    Copy the full SHA
    d0cc30f View commit details
    Browse the repository at this point in the history
  2. Add delete method

    afirstenberg committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    db3cdd7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    27031f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    49bb70a View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Configuration menu
    Copy the full SHA
    951175f View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Configuration menu
    Copy the full SHA
    7860630 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Configuration menu
    Copy the full SHA
    07c92d6 View commit details
    Browse the repository at this point in the history
  2. Switch to using "blob"

    afirstenberg committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    30f228a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfb1081 View commit details
    Browse the repository at this point in the history
  4. Refactoring

    Testing
    afirstenberg committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    9ca6a31 View commit details
    Browse the repository at this point in the history
  5. formatting

    afirstenberg committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    d2f4a40 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7550b51 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Add options for store() that can be used to make sure URIs are set in…

    … a way that makes sense.
    
    Add option for fetch() that determines how to handle missing MediaBlobs.
    afirstenberg committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    87f8c13 View commit details
    Browse the repository at this point in the history
  2. Add options for store() that can be used to make sure URIs are set in…

    … a way that makes sense.
    
    Add option for fetch() that determines how to handle missing MediaBlobs.
    afirstenberg committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    39ffcb3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fd54f5e View commit details
    Browse the repository at this point in the history
  4. Tests. Bug fixes.

    afirstenberg committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    afd2f25 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2024

  1. Assorted name and type refactoring.

    Change default action if invalid blob.
    Add "ignore" action for invalid blobs.
    afirstenberg committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    60589dd View commit details
    Browse the repository at this point in the history
  2. Tests for MediaManager.

    Bug fix for BlobStore.store with how it handles the key
    afirstenberg committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    48ddbe9 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2024

  1. Fix tests

    afirstenberg committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    185229b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3fcadb View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Remove obsolete comment

    afirstenberg committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    f84cdaf View commit details
    Browse the repository at this point in the history
  2. Refactor

    afirstenberg committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    259ec12 View commit details
    Browse the repository at this point in the history
  3. Add mediaManager to Gemini functions.

    Required making some functions and methods async
    afirstenberg committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    708a2fd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2467860 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Configuration menu
    Copy the full SHA
    b394eec View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    6098ee5 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Configuration menu
    Copy the full SHA
    c4089e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ebdf657 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into media-manager

    # Conflicts (resolved):
    #	libs/langchain-google-common/src/chat_models.ts
    #	libs/langchain-google-common/src/utils/gemini.ts
    afirstenberg committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    8b7a18b View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    5dd7164 View commit details
    Browse the repository at this point in the history
  2. Fix issues with video upload / processing.

    Testing improvements.
    afirstenberg committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    94fd6a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ba5e4b7 View commit details
    Browse the repository at this point in the history
  4. Formatting

    afirstenberg committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    72d7f0c View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    ebed89c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1caebf1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd4c974 View commit details
    Browse the repository at this point in the history
  4. Formatting

    afirstenberg committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    ee77ee2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    14f74a3 View commit details
    Browse the repository at this point in the history
  6. Formatting

    afirstenberg committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    da1817c View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    7cf8e30 View commit details
    Browse the repository at this point in the history
  2. UUID Version support

    afirstenberg committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    9bd18c5 View commit details
    Browse the repository at this point in the history
  3. Formatting

    afirstenberg committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    aae6107 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Merge branch 'main' into media-manager

    # Conflicts:
    #	libs/langchain-google-common/src/chat_models.ts
    #	libs/langchain-google-common/src/connection.ts
    #	libs/langchain-google-common/src/tests/chat_models.test.ts
    #	libs/langchain-google-common/src/utils/gemini.ts
    #	libs/langchain-google-vertexai/src/tests/chat_models.int.test.ts
    afirstenberg committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    c3e3677 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Adjust to use a ReadThroughBlobStore instead of putting this logic in…

    …to the MediaManager.
    
    Change MediaManager to have multiple resolvers.
    Add a resolver that works with data: URIs.
    afirstenberg committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    27e427c View commit details
    Browse the repository at this point in the history
  2. Implement MediaBlob serialization.

    Refactor MediaBlob so it doesn't use a blob internally, since this caused problems with serialization.
    afirstenberg committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    fcdba48 View commit details
    Browse the repository at this point in the history
  3. Formatting

    afirstenberg committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    076c19c View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Merge branch 'main' into media-manager

    # Conflicts:
    #	libs/langchain-google-common/src/chat_models.ts
    afirstenberg committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    464bc2b View commit details
    Browse the repository at this point in the history
  2. fix test

    afirstenberg committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    e7e00ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    51b5eea View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    f897e72 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf20c32 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. skeleton for Anthropic

    afirstenberg committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    2eb973a View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Merge

    jacoblee93 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    b1e6f6d View commit details
    Browse the repository at this point in the history
  2. Fix lint, circular deps

    jacoblee93 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    986a021 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    04d5c74 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    101af7f View commit details
    Browse the repository at this point in the history
  2. Fix build

    jacoblee93 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    3f8a342 View commit details
    Browse the repository at this point in the history
  3. fix faulty import path

    bracesproul committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    4add032 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. Merge branch 'media-manager' into model-garden

    # Conflicts:
    #	libs/langchain-google-common/src/connection.ts
    #	libs/langchain-google-common/src/types.ts
    #	libs/langchain-google-common/src/utils/gemini.ts
    afirstenberg committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    18df7d9 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    85ea487 View commit details
    Browse the repository at this point in the history
  2. Fix handling SAFETY error that contains no content or parts. Addresses

    …langchain-ai#6371.
    
    Improve tests for same.
    Refactor API signatures to move safety handler to configuration, rather than parameters.
    afirstenberg committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    fcc0a9b View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    4a80410 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    afirstenberg committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    29f0b1c View commit details
    Browse the repository at this point in the history
  3. Fix tests

    afirstenberg committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    fde3717 View commit details
    Browse the repository at this point in the history
  4. Formatting

    afirstenberg committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    3012736 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Merge branch 'media-manager' into model-garden-old

    # Conflicts:
    #	libs/langchain-google-gauth/src/tests/chat_models.int.test.ts
    #	libs/langchain-google-gauth/src/tests/media.int.test.ts
    #	libs/langchain-google-vertexai/src/tests/chat_models.int.test.ts
    afirstenberg committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    9fc8360 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'model-garden-old' into model-garden

    # Conflicts:
    #	libs/langchain-google-common/src/chat_models.ts
    #	libs/langchain-google-common/src/connection.ts
    #	libs/langchain-google-common/src/llms.ts
    #	libs/langchain-google-common/src/tests/chat_models.test.ts
    #	libs/langchain-google-common/src/types.ts
    #	libs/langchain-google-common/src/utils/gemini.ts
    #	libs/langchain-google-gauth/src/tests/chat_models.int.test.ts
    #	libs/langchain-google-gauth/src/tests/media.int.test.ts
    #	libs/langchain-google-vertexai/src/tests/chat_models.int.test.ts
    #	libs/langchain-google-webauth/src/tests/chat_models.int.test.ts
    #	yarn.lock
    afirstenberg committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    34150b1 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Merge branch 'main' into model-garden

    # Conflicts:
    #	libs/langchain-google-common/src/utils/gemini.ts
    afirstenberg committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    4d898e2 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Initial API implementation for Anthropic.

    Refactor result parsing to move it into the API structure.
    afirstenberg committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    e6c2949 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Endpoint and location defaults per-model and better approaches to set…

    …ting and using them.
    
    Added GoogleRequestCallabckHandler with some convenience classes and methods.
    afirstenberg committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    503d8b8 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Configuration menu
    Copy the full SHA
    cc6fe86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16cf0b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c269911 View commit details
    Browse the repository at this point in the history
  4. Formatting.

    Fixes to make sure a logging event is called when a stream event comes in
    afirstenberg committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    f1f96b3 View commit details
    Browse the repository at this point in the history
  5. Formatting.

    Fixes to make sure a logging event is called when a stream event comes in
    afirstenberg committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    11702d3 View commit details
    Browse the repository at this point in the history
  6. Formatting.

    afirstenberg committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    8eb3ad7 View commit details
    Browse the repository at this point in the history
  7. Testing

    afirstenberg committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    2f917d7 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'main' into model-garden

    # Conflicts:
    #	yarn.lock
    afirstenberg committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    c4023c7 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Configuration menu
    Copy the full SHA
    ab82f7a View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2024

  1. Configuration menu
    Copy the full SHA
    92544f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    724017f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    22ebd1c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5023298 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    00ecc03 View commit details
    Browse the repository at this point in the history
  6. Formatting

    afirstenberg committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    2f923d0 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2024

  1. Documentation

    afirstenberg committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    28e6ac7 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    b5d8225 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b1e7e8 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    bc58188 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcb1b21 View commit details
    Browse the repository at this point in the history
  3. formatting

    afirstenberg committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    d75e3ee View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. Configuration menu
    Copy the full SHA
    4f02f0a View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2024

  1. Fix lint and build

    jacoblee93 committed Nov 9, 2024
    Configuration menu
    Copy the full SHA
    54b08f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a9248f View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. We can't use an enum for tree shaking reasons, as per @jacoblee93. Us…

    …e plain object instead.
    afirstenberg committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    ff28f04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    73d4fc6 View commit details
    Browse the repository at this point in the history
  3. Fix lint

    jacoblee93 committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    b55f8cb View commit details
    Browse the repository at this point in the history