@elizaos/core v0.1.7 / generateObject
generateObject(
options
):Promise
<GenerateObjectResult
<unknown
>>
Generates structured objects from a prompt using specified AI models and configuration options.
• options: GenerationOptions
Configuration options for generating objects.
Promise
<GenerateObjectResult
<unknown
>>
- A promise that resolves to an array of generated objects.
- Throws an error if the provider is unsupported or if generation fails.