Skip to main content

@ai16z/eliza v0.1.6-alpha.4 / GenerationOptions

Interface: GenerationOptions

Configuration options for generating objects with a model.

Properties

runtime

runtime: IAgentRuntime

Defined in

packages/core/src/generation.ts:1236


context

context: string

Defined in

packages/core/src/generation.ts:1237


modelClass

modelClass: ModelClass

Defined in

packages/core/src/generation.ts:1238


schema?

optional schema: ZodSchema

Defined in

packages/core/src/generation.ts:1239


schemaName?

optional schemaName: string

Defined in

packages/core/src/generation.ts:1240


schemaDescription?

optional schemaDescription: string

Defined in

packages/core/src/generation.ts:1241


stop?

optional stop: string[]

Defined in

packages/core/src/generation.ts:1242


mode?

optional mode: "auto" | "json" | "tool"

Defined in

packages/core/src/generation.ts:1243


experimental_providerMetadata?

optional experimental_providerMetadata: Record<string, unknown>

Defined in

packages/core/src/generation.ts:1244