13 releases
Uses new Rust 2024
| new 0.3.4 | Apr 13, 2026 |
|---|---|
| 0.3.3 | Apr 1, 2026 |
| 0.3.2 | Mar 17, 2026 |
| 0.2.6 | Feb 17, 2026 |
| 0.1.0 | Nov 18, 2025 |
#932 in Authentication
2,628 downloads per month
50KB
1K
SLoC
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:
[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:
gcloud auth application-default login
Dependencies
~100MB
~1.5M SLoC