Skip to content

Latest commit

 

History

History
95 lines (48 loc) · 2.01 KB

GenerationOptions.md

File metadata and controls

95 lines (48 loc) · 2.01 KB

@elizaos/core v0.1.7-alpha.1 / GenerationOptions

Interface: GenerationOptions

Configuration options for generating objects with a model.

Properties

runtime

runtime: IAgentRuntime

Defined in

packages/core/src/generation.ts:1266


context

context: string

Defined in

packages/core/src/generation.ts:1267


modelClass

modelClass: ModelClass

Defined in

packages/core/src/generation.ts:1268


schema?

optional schema: ZodSchema

Defined in

packages/core/src/generation.ts:1269


schemaName?

optional schemaName: string

Defined in

packages/core/src/generation.ts:1270


schemaDescription?

optional schemaDescription: string

Defined in

packages/core/src/generation.ts:1271


stop?

optional stop: string[]

Defined in

packages/core/src/generation.ts:1272


mode?

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

Defined in

packages/core/src/generation.ts:1273


experimental_providerMetadata?

optional experimental_providerMetadata: Record<string, unknown>

Defined in

packages/core/src/generation.ts:1274