AxProgramForwardOptions Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxProgramForwardOptions.md type AxProgramForwardOptions

AxProgramForwardOptions

TypeScript
type AxProgramForwardOptions<MODEL> = AxAIServiceOptions & object;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/types.ts#L178

Type declaration

NameType
ai?AxAIService
asserts?AxAssertion<any>[]
cachingFunction()?(key: string, value?: AxGenOut) => | AxGenOut | undefined | Promise<AxGenOut | undefined>
customTemplate?string
description?string
disableMemoryCleanup?boolean
excludeContentFromTrace?boolean
fastFail?boolean
functionCall?AxChatRequest["functionCall"]
functionCallMode?"auto" | "native" | "prompt"
functionResultFormatter()?(result: unknown) => string
functions?AxInputFunctionType
includeOptionalInputFieldsInSystemPrompt?boolean
maxRetries?number
maxSteps?number
mem?AxAIMemory
model?MODEL
modelConfig?AxModelConfig
onFunctionCall()?(call: Readonly<AxFunctionCallTrace>) => void | Promise<void>
promptTemplate?typeof AxPromptTemplate
resultPicker?AxResultPickerFunction<AxGenOut>
sampleCount?number
selfTuning?boolean | AxSelfTuningConfig
showThoughts?boolean
speech?AxSpeechConfig
stepHooks?AxStepHooks
stopFunction?string | string[]
streamingAsserts?AxStreamingAssertion[]
strictMode?boolean
structuredOutputMode?"auto" | "native" | "function"
thoughtFieldName?string
traceLabel?string

Type Parameters

Type Parameter
MODEL
Docs