@elizaos/core v0.1.7 / generateTextArray
generateTextArray(
opts
):Promise
<string
[]>
Send a message to the model and parse the response as a string array
• opts
The options for the generateText request
• opts.runtime: IAgentRuntime
• opts.context: string
The context/prompt to send to the model
• opts.modelClass: string
Promise
<string
[]>
Promise resolving to an array of strings parsed from the model's response