Skip to main content

@ai16z/eliza v1.0.0 / GenerationOptions

Interface: GenerationOptions

Configuration options for generating objects with a model.

Properties

runtime

runtime: IAgentRuntime

Defined in

packages/core/src/generation.ts:867


context

context: string

Defined in

packages/core/src/generation.ts:868


modelClass

modelClass: ModelClass

Defined in

packages/core/src/generation.ts:869


schema?

optional schema: ZodSchema

Defined in

packages/core/src/generation.ts:870


schemaName?

optional schemaName: string

Defined in

packages/core/src/generation.ts:871


schemaDescription?

optional schemaDescription: string

Defined in

packages/core/src/generation.ts:872


stop?

optional stop: string[]

Defined in

packages/core/src/generation.ts:873


mode?

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

Defined in

packages/core/src/generation.ts:874


experimental_providerMetadata?

optional experimental_providerMetadata: Record<string, unknown>

Defined in

packages/core/src/generation.ts:875