slidedeckai.helpers.text_helper.is_valid_prompt#

slidedeckai.helpers.text_helper.is_valid_prompt(prompt: str) bool[source]#

Verify whether user input satisfies the concerned constraints.

Parameters:

prompt – The user input text.

Returns:

True if all criteria are satisfied; False otherwise.