AxStreamingAssertion Generated TypeScript API reference. typescript api api/reference build/apidocs/Interface.AxStreamingAssertion.md interface AxStreamingAssertion

AxStreamingAssertion

Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/asserts.ts#L10

Properties

PropertyType
fieldNamestring
message?string

Methods

fn()

TypeScript
fn(content: string, done?: boolean): 
  | string
  | boolean
  | Promise<string | boolean | undefined>
  | undefined;

Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/asserts.ts#L12

Parameters

ParameterType
contentstring
done?boolean

Returns

| string | boolean | Promise<string | boolean | undefined> | undefined

Docs