diff --git a/python/semantic_kernel/prompt_template/input_variable.py b/python/semantic_kernel/prompt_template/input_variable.py index e61ea0c26343..eefeb7e3e917 100644 --- a/python/semantic_kernel/prompt_template/input_variable.py +++ b/python/semantic_kernel/prompt_template/input_variable.py @@ -14,8 +14,9 @@ class InputVariable(KernelBaseModel): default: The default value of the input variable. is_required: Whether the input variable is required. json_schema: The JSON schema for the input variable. - allow_dangerously_set_content (default: false): Allow content without encoding, this controls - if this variable is encoded before use. + allow_dangerously_set_content (bool = False): Allow content without encoding throughout, this overrides + the same settings in the prompt template config and input variables. + This reverts the behavior to unencoded input. """ name: str diff --git a/python/semantic_kernel/prompt_template/prompt_template_config.py b/python/semantic_kernel/prompt_template/prompt_template_config.py index da79603f2f00..c670f56da5f7 100644 --- a/python/semantic_kernel/prompt_template/prompt_template_config.py +++ b/python/semantic_kernel/prompt_template/prompt_template_config.py @@ -24,8 +24,9 @@ class PromptTemplateConfig(KernelBaseModel): template: The template for the prompt. template_format: The format of the template, should be 'semantic-kernel', 'jinja2' or 'handlebars'. input_variables: The input variables for the prompt. - allow_dangerously_set_content (default: false): Allow content without encoding, this controls - if the output of functions called in the template is encoded before use. + allow_dangerously_set_content (bool = False): Allow content without encoding throughout, this overrides + the same settings in the prompt template config and input variables. + This reverts the behavior to unencoded input. execution_settings: The execution settings for the prompt. """