Load prompt from config dict.
Dict containing the prompt configuration.
If False (default), file paths in the
config (such as template_path, examples, and
example_prompt_path) are validated to reject absolute paths
and directory traversal (..) sequences. Set to True only
if you trust the source of the config.