Back to Rig

README

rig-integrations/rig-vertexai/README.md

latest656 B
Original Source

Rig-VertexAI

This companion crate integrates Google Cloud Vertex AI (hosted models including Gemini) as a model provider with Rig.

Usage

Add the companion crate to your Cargo.toml, along with the rig-core crate:

toml
[dependencies]
rig-vertexai = "0.1.0"
rig-core = "0.23.1"

You can also run cargo add rig-vertexai rig-core to add the most recent versions of the dependencies to your project.

See the /examples folder for usage examples.

Setup

Make sure to have Google Cloud credentials configured. You can use Application Default Credentials (ADC) by running:

shell
gcloud auth application-default login