semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

Python: Action Planner breaking when parameters are not explicitly given in the ask

Open ArfiArfath21 opened this issue 2 years ago • 1 comments

Describe the bug When we change the ask in the action planner example to something that doesnt explicitly mention the parameters, it fails to generate any response and breaks down.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'semantic-kernel/python/samples/kernel-syntax-examples/action_planner.py'
  2. change the "ask" in line 29 to something generic. Ex: ask="What is the date today?"
  3. Run the script.
  4. See error

Expected behavior It should have given a proper response like

Screenshots Error: image Expected: image

Platform

  • OS: MacOS Sonoma 14.3.1
  • IDE: VS Code
  • Language: Python

ArfiArfath21 avatar Mar 20 '24 21:03 ArfiArfath21

Closing as the fix is in main. Will be included in the next release.

moonbox3 avatar Mar 26 '24 13:03 moonbox3