Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 577 Bytes

handleProvider.md

File metadata and controls

23 lines (12 loc) · 577 Bytes

@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.

Defined in

packages/core/src/generation.ts:979