Documentation

HomeBAMLCLICloudTutorialsExamples

BAML documentation

  • Overview
  • Get started
  • Book
    • 8. Handle errors
    • 11. Interfaces
    • 12. Run work concurrently
  • Language reference
    • Functions
  • Standard packages
  • Language bridges
    • TypeScript

Products

  • BAML CLI
  • Cloud

Resources

  • Tutorials
    • Structured extraction
  • Examples
    • Classify support tickets
    • Images and vision models
HomeBAMLCLICloudTutorialsExamples
Start

Sections

  • Overview
  • Get started
  • Book
    • 8. Handle errors
    • 11. Interfaces
    • 12. Run work concurrently
  • Language reference
    • Functions
  • Standard packages
  • Language bridges
    • TypeScript

Products

  • BAML CLI
  • Cloud

Resources

  • Tutorials
    • Structured extraction
  • Examples
    • Classify support tickets
    • Images and vision models
BAMLStandard packagesv0.20.0aiclients

ai.clients

namespace in the ai package.

Reference version

Contents

  • ai.clients._failed_leg_call function
  • ai.clients.Backoff class
  • ai.clients.default_retry_judgment function
  • ai.clients.Fallback class
  • ai.clients.resolve function
  • ai.clients.Retry class
  • ai.clients.RoundRobin class
  • ai.clients.Selector type_alias
  • ai.clients.StreamRelay class
  • ai.clients.StreamRelayError class

On this page

  • Contents

Build with BAML

Start with the language guide and a checked BAML function.

Continue into generated package and CLI references for the exact selected toolchain.

Get started
Developer documentation for BAML and Boundary products. Source available on GitHub. View release notes