@ai16z/eliza v0.1.6-alpha.4 / composeActionExamples
Function: composeActionExamples()
composeActionExamples(
actionsData
,count
):string
Composes a set of example conversations based on provided actions and a specified count. It randomly selects examples from the provided actions and formats them with generated names.
Parameters
• actionsData: Action
[]
An array of Action
objects from which to draw examples.
• count: number
The number of examples to generate.
Returns
string
A string containing formatted examples of conversations.