Documentation
¶
Overview ¶
Package vertex implements the inference.Provider interface for Google Cloud Vertex AI using Workload Identity Federation with GitHub OIDC.
Index ¶
Constants ¶
View Source
const ( // SecretProjectID is the repo secret name for the GCP project ID. SecretProjectID = "FULLSEND_GCP_PROJECT_ID" // VariableRegion is the repo variable name for the GCP region. VariableRegion = "FULLSEND_GCP_REGION" // SecretWIFProvider is the repo secret for the full WIF provider resource name. SecretWIFProvider = "FULLSEND_GCP_WIF_PROVIDER" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ProjectID string // required
Region string // required: GCP region (e.g. global)
WIFProvider string // full WIF provider resource name
}
Config holds the inputs for Vertex credential provisioning.
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements inference.Provider for Vertex AI.
func NewAnalyzeOnly ¶
func NewAnalyzeOnly() *Provider
NewAnalyzeOnly creates a Provider that only supports SecretNames() and Name(). Calling Provision() on this provider returns an error.
func (*Provider) SecretNames ¶
SecretNames returns the secret names this provider manages.
Click to show internal directories.
Click to hide internal directories.