@ai16z/eliza v1.0.0 / handleProvider
Function: handleProvider()
handleProvider(
options
):Promise
<GenerateObjectResult
<unknown
>>
Handles AI generation based on the specified provider.
Parameters
• options: ProviderOptions
Configuration options specific to the provider.
Returns
Promise
<GenerateObjectResult
<unknown
>>
- A promise that resolves to an array of generated objects.