Skip to main content

@ai16z/eliza v0.1.6-alpha.4 / 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:1351