@elizaos/core v1.0.0-beta.7 / ObjectGenerationParams
Interface: ObjectGenerationParams<T>
Parameters for object generation models
Extends
Type Parameters
• T = any
The expected return type, inferred from schema if provided
Properties
runtime
runtime:
IAgentRuntime
The agent runtime for accessing services and utilities
Inherited from
Defined in
packages/core/src/types.ts:1301
prompt
prompt:
string
The prompt describing the object to generate
Defined in
packages/core/src/types.ts:1431
schema?
optional
schema:JSONSchema
Optional JSON schema for validation
Defined in
packages/core/src/types.ts:1433
output?
optional
output:"object"
|"array"
|"enum"
Type of object to generate
Defined in
packages/core/src/types.ts:1435
enumValues?
optional
enumValues:string
[]
For enum type, the allowed values
Defined in
packages/core/src/types.ts:1437
modelType?
optional
modelType:string
Model type to use
Defined in
packages/core/src/types.ts:1439
temperature?
optional
temperature:number
Model temperature (0.0 to 1.0)
Defined in
packages/core/src/types.ts:1441
stopSequences?
optional
stopSequences:string
[]
Sequences that should stop generation