generate

Generates one token.

Return

true if generation is done, false otherwise

Throws

if the operation fails or prompt not set