Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 744 Bytes

composeActionExamples.md

File metadata and controls

28 lines (15 loc) · 744 Bytes

@ai16z/eliza v1.0.0 / 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.

Defined in

packages/core/src/actions.ts:11