s() API Signature and field APIs. go api api/s packages/go/axir-api.json api s() API

s() API

Signature, field, schema, and validation APIs.

Most Used

axllm.S

Parse an Ax string signature into the target language signature object.

FieldValue
Kindfunction
Ax concepts
API sectionSignatures
Formaxllm.S(signature string)
ReturnsAxSignature

Examples

Go
sig := axllm.S("question:string -> answer:string")

Full reference

axllm.FieldType

Build signatures and field types fluently when the target has a fluent helper.

FieldValue
Kindfunction
Ax conceptf
API sectionSignatures
FormFieldType and Field descriptors
Returnssignature builder or field factory

Important Options

  • input fields
  • output fields
  • field descriptions
  • constraints

Full reference

axllm.AxSignature

Parsed signature with input/output fields, descriptions, and JSON schema helpers.

FieldValue
Kindtype
Ax conceptAxSignature
API sectionSignatures
Formaxllm.AxSignature
Returnssignature object

Important Options

  • inputs
  • outputs
  • description

Full reference

Full Reference

Open the full Go reference. This page highlights the s symbols most relevant to everyday use.

Docs