Skip to content

Google Palm API should(?) also support the Vertex AI #6

@palladius

Description

@palladius

Hi Andrei, huge fan of your work!

I've tried langchainrb today and it works like a charm! unfortunately the Palm API is only available in some countries (and mine is not one of those) so I can't do things like:

Langchain::LLM::GooglePalm.new  api_key: 'My looooong key'

even though i do have a key (I'm a Googler).

What I do have is the Vertex AI version of the API, which is called in the usual Google Cloud way (gcloud auth print-access-token / JSON key linked to a service account, and so on).

I was wondering what's your take on it:

  • should be part of this gem
  • Should be part of another gem (after all, they call two different gems).
  • You don't care.

I'm happy to help / support you in anyway I can if you want to help fill this gap! The equivalent in Python is here:

Riccardo

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