Documentation

HomeBAMLCLICloudTutorialsExamples

BAML documentation

  • Overview
  • Get started
  • Book
    • 3. Common programming concepts
    • 8. Handle errors
    • 11. Interfaces
    • 12. Run work concurrently
    • 22. Patterns, matching, and destructuring
  • 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
    • 3. Common programming concepts
    • 8. Handle errors
    • 11. Interfaces
    • 12. Run work concurrently
    • 22. Patterns, matching, and destructuring
  • 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.22.3-nightly.20261022.aaiwireSentAs

ai.wire.SentAs

`send_as_with_wire`'s result: the decoded envelope plus the wire record.

Reference version

Signature

class ai.wire.SentAs<T>

send_as_with_wire's result: the decoded envelope plus the wire record.

Source:<builtin>/ai/ns_wire/wire.bamlbytes 6695–6761

Fields

value

T

call

ai.events.ModelCall

Related definitions

  • ai.events.ModelCall

On this page

  • Signature
  • Fields
  • Related definitions

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