Skip to content

AxGenerateOptions

Interface: AxGenerateOptions

Properties

asserts?

optional asserts: AxAssertion[]

Defined in

src/ax/dsp/generate.ts:56


debug?

optional debug: boolean

Defined in

src/ax/dsp/generate.ts:51


functionCall?

optional functionCall: "auto" | object | "none" | "required"

Defined in

src/ax/dsp/generate.ts:54


functions?

optional functions: AxFunction[] | object[]

Defined in

src/ax/dsp/generate.ts:53


maxCompletions?

optional maxCompletions: number

Defined in

src/ax/dsp/generate.ts:44


maxRetries?

optional maxRetries: number

Defined in

src/ax/dsp/generate.ts:45


maxSteps?

optional maxSteps: number

Defined in

src/ax/dsp/generate.ts:46


mem?

optional mem: AxAIMemory

Defined in

src/ax/dsp/generate.ts:47


promptTemplate?

optional promptTemplate: typeof AxPromptTemplate

Defined in

src/ax/dsp/generate.ts:55


rateLimiter?

optional rateLimiter: AxRateLimiterFunction

Defined in

src/ax/dsp/generate.ts:49


stream?

optional stream: boolean

Defined in

src/ax/dsp/generate.ts:50


streamingAsserts?

optional streamingAsserts: AxStreamingAssertion[]

Defined in

src/ax/dsp/generate.ts:57


tracer?

optional tracer: AxTracer

Defined in

src/ax/dsp/generate.ts:48