setPrompt

fun setPrompt(prompt: String): Int

Sets the prompt text given to the model.

Return

0 if successful, otherwise an error code.

Parameters

prompt

The text of the prompt (UTF-8).