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.0aiwire

ai.wire

namespace in the ai package.

Reference version

Contents

  • ai.wire.credential_sources function
  • ai.wire.degrade_tool_media function
  • ai.wire.merge_request_body function
  • ai.wire.prompt_blocks function
  • ai.wire.redact_request_headers function
  • ai.wire.redact_url_secrets function
  • ai.wire.render_output_format function
  • ai.wire.resolve_credential function
  • ai.wire.resolve_media function
  • ai.wire.resolve_media_preview function
  • ai.wire.ResolvedMedia class
  • ai.wire.ResolvedMedia$stream class
  • ai.wire.sanitize_for_client function
  • ai.wire.send_as function
  • ai.wire.send_as_with_wire function
  • ai.wire.SentAs class
  • ai.wire.SentAs$stream class
  • ai.wire.tool_name function

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