Pixi’VN
indexNamespacesaiNamespacestextFunctions

Function: generateDialog()

> generateDialog(request, options?): Promise<string>

Defined in: src/ai.ts:75

Generate a dialogue from a developer request, completely hiding prompt engineering.

Parameters

request

string

Natural language description of the dialogue to generate.

options?

DialogGenerateOptions

Options controlling which context gets included in the prompt.

Returns

Promise<string>

The generated dialogue text.

On this page