baseten.clientΒΆ

Baseten client library.

Use ManagementClient or AsyncManagementClient for the management API, and InferenceClient or AsyncInferenceClient for the inference API.

Classes

AsyncInferenceClient

Asynchronous client for the Baseten Inference API.

AsyncManagementClient

Asynchronous client for the Baseten Management API.

InferenceClient

Synchronous client for the Baseten Inference API.

InferenceClientOptions

Options for InferenceClient and AsyncInferenceClient.

ManagementClient

Synchronous client for the Baseten Management API.

ManagementClientOptions

Options for ManagementClient and AsyncManagementClient.

Modules

inferenceapi

Generated client and models for the Baseten Inference API.

managementapi

Generated client and models for the Baseten Management API.

modelconfig

Generated models for the Baseten model config (truss config.yaml).