Replies: 3 comments 1 reply
-
Hi @samo9789, we've fixed this in subsequent versions. We're currently on 0.9.4b1. Please upgrade when possible. Also, we'll have more eyes on this if it is filed next time in the GitHub issues versus the Discussions section. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Same error, just use the get start sample: https://github.com/microsoft/semantic-kernel/blob/main/python/README.md |
Beta Was this translation helpful? Give feedback.
-
Same error, on the "get started" sample. if you check on the current version 0.9.4b1 on the function Something like : function = kernel.create_function_from_prompt(
function_name="tldr_function",
plugin_name="tldr_plugin",
prompt_template_config=prompt_template_config,
) and the second part to something like: summarize = kernel.create_function_from_prompt(
function_name="tldr_function",
plugin_name="tldr_plugin",
prompt="{{$input}}\n\nOne line TLDR with the fewest words.",
prompt_template_settings=req_settings,
) |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have just upgraded my code to use semantic_kernel==0.9.0b1 and follow the documentation in the sample notebookx
Most say
self.kernel.create_function_from_prompt(prompt_template_config=self.chat_prompt_template_config)
But when I have this line, I get this error
TypeError: Kernel.create_function_from_prompt() missing 2 required positional arguments: 'function_name' and 'plugin_name'
Can anyone tell me what I am doing wrong ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions