s() API
Signature, field, schema, and validation APIs.
Most Used
axllm.S
Parse an Ax string signature into the target language signature object.
| Field | Value |
|---|---|
| Kind | function |
| Ax concept | s |
| API section | Signatures |
| Form | axllm.S(signature string) |
| Returns | AxSignature |
Examples
sig := axllm.S("question:string -> answer:string")axllm.FieldType
Build signatures and field types fluently when the target has a fluent helper.
| Field | Value |
|---|---|
| Kind | function |
| Ax concept | f |
| API section | Signatures |
| Form | FieldType and Field descriptors |
| Returns | signature builder or field factory |
Important Options
input fieldsoutput fieldsfield descriptionsconstraints
axllm.AxSignature
Parsed signature with input/output fields, descriptions, and JSON schema helpers.
| Field | Value |
|---|---|
| Kind | type |
| Ax concept | AxSignature |
| API section | Signatures |
| Form | axllm.AxSignature |
| Returns | signature object |
Important Options
inputsoutputsdescription
Full Reference
Open the full Go reference. This page highlights the s symbols most relevant to everyday use.