@elizaos/core v1.0.0-beta.51 / 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:1625
prompt​
prompt:
string
The prompt describing the object to generate
Defined in​
packages/core/src/types.ts:1755
schema?​
optional
schema:JSONSchema
Optional JSON schema for validation
Defined in​
packages/core/src/types.ts:1757
output?​
optional
output:"object"
|"array"
|"enum"
Type of object to generate
Defined in​
packages/core/src/types.ts:1759
enumValues?​
optional
enumValues:string
[]
For enum type, the allowed values
Defined in​
packages/core/src/types.ts:1761
modelType?​
optional
modelType:string
Model type to use
Defined in​
packages/core/src/types.ts:1763
temperature?​
optional
temperature:number
Model temperature (0.0 to 1.0)
Defined in​
packages/core/src/types.ts:1765
stopSequences?​
optional
stopSequences:string
[]
Sequences that should stop generation