inference

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package inference defines the interface for provisioning inference provider credentials during fullsend installation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	// Name returns the provider identifier (e.g. "vertex").
	Name() string

	// Provision acquires credentials and returns secrets to store.
	// Returns a map of secret-name → secret-value pairs to store
	// as repo secrets on .fullsend.
	Provision(ctx context.Context) (map[string]string, error)

	// SecretNames returns the names of secrets this provider manages,
	// used by Analyze to check whether credentials are present.
	SecretNames() []string

	// Variables returns non-secret name/value pairs to store as repo
	// variables (e.g. region). May return nil.
	Variables() map[string]string
}

Provider provisions inference credentials during install.

Directories

Path Synopsis
Package vertex implements the inference.Provider interface for Google Cloud Vertex AI.
Package vertex implements the inference.Provider interface for Google Cloud Vertex AI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL