Skip to content

AI Platform

Client for Google Cloud Vertex AI API.

The zio-gcp-aiplatform module provides an ExpressModelClient convenience layer built on top of the generated API client, with integrated support for ZIO Schema and function-calling tools. You can define case classes with derives Schema to use as structured response schemas (enforcing JSON output shape) or as function parameter/return types in function calling — schemas are automatically converted to OpenAPI schema format for the Vertex AI API.

Getting Started

To get started with sbt, add the dependency to your project in build.sbt

scala
libraryDependencies ++= Seq(
  "com.anymindgroup" %% "zio-gcp-auth" % "latest",
  "com.anymindgroup" %% "zio-gcp-aiplatform" % "latest",
)

Usage