Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 721 Bytes

generateMessageResponse.md

File metadata and controls

31 lines (16 loc) · 721 Bytes

@elizaos/core v0.1.7 / generateMessageResponse

Function: generateMessageResponse()

generateMessageResponse(opts): Promise<Content>

Send a message to the model for generateText.

Parameters

opts

The options for the generateText request.

opts.runtime: IAgentRuntime

opts.context: string

The context of the message to be completed.

opts.modelClass: string

Returns

Promise<Content>

The completed message.

Defined in

packages/core/src/generation.ts:1084