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