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

openai.internal.OaInputItem

type_alias in the openai package.

Reference version

Signature

type openai.internal.OaInputItem = openai.internal.OaMessageItem | openai.internal.OaFunctionCallItem | openai.internal.OaFunctionCallOutputItem

Source:<builtin>/openai/ns_internal/responses.bamlbytes 2657–2738

Related definitions

  • openai.internal.OaFunctionCallItem
  • openai.internal.OaFunctionCallOutputItem
  • openai.internal.OaMessageItem

On this page

  • Signature
  • 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