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
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
BAMLStandard packagesv0.19.0openai

openai

package in the openai package.

Reference version

Contents

  • openai.AzureClient class
  • openai.AzureClient$stream class
  • openai.ChatClient class
  • openai.ChatClient$stream class
  • openai.GenericClient class
  • openai.GenericClient$stream class
  • openai.ImageClient class
  • openai.ImageClient$stream class
  • openai.internal namespace
  • openai.OllamaClient class
  • openai.OllamaClient$stream class
  • openai.OpenRouterClient class
  • openai.OpenRouterClient$stream class
  • openai.ResponsesClient class
  • openai.ResponsesClient$stream 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