From 9299088d47da56ac87612b22035d827e773ec336 Mon Sep 17 00:00:00 2001 From: AndreeaDan27 <120377092+AndreeaDan27@users.noreply.github.com> Date: Tue, 7 Jan 2025 20:16:26 +0100 Subject: [PATCH] Python: Update README.md (#10028) prompt_template_config needs PromptTemplateConfig type but req_settings is PromptExecutionSettings type which seems to be accepted better by prompt_execution_settings ### Motivation and Context - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone :smile: --- python/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/README.md b/python/README.md index 6425fd5d76..3e010df110 100644 --- a/python/README.md +++ b/python/README.md @@ -121,7 +121,7 @@ summarize = kernel.add_function( function_name="tldr_function", plugin_name="tldr_plugin", prompt="{{$input}}\n\nOne line TLDR with the fewest words.", - prompt_template_settings=req_settings, + prompt_execution_settings=req_settings, ) # Summarize the laws of thermodynamics