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

ai.stream

namespace in the ai package.

Reference version

Contents

  • ai.stream.decode_sse_batch function
  • ai.stream.Done class
  • ai.stream.Done$stream class
  • ai.stream.Event type_alias
  • ai.stream.Event$stream type_alias
  • ai.stream.EventSource type_alias
  • ai.stream.EventSource$stream type_alias
  • ai.stream.from_spec function
  • ai.stream.SseEvent class
  • ai.stream.SseEvent$stream class
  • ai.stream.Stream class
  • ai.stream.Stream$stream class
  • ai.stream.StreamingClient interface
  • ai.stream.TextDelta class
  • ai.stream.TextDelta$stream class
  • ai.stream.TurnDone class
  • ai.stream.TurnDone$stream class
  • ai.stream.TurnMeta class
  • ai.stream.TurnMeta$stream class
  • ai.stream.TurnStream class
  • ai.stream.TurnStream$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