semantic-kernel
semantic-kernel copied to clipboard
The ask field is required,but use input
https://localhost:40443/skills/ChatSkill/functions/Chat/invoke
@daiping0323 , we are looking into this
Is your browser using a locale other than English?
The Chatskill has been recently refactored out to its own controller. There is still the /invoke API available, but it does require an "Ask" payload that includes an "Input". For instance: Bash:
curl -X POST -H "Content-Type: application/json" -d '{"Input":"Hello","Variables":[]}' https://localhost:40443/skills/timeskill/functions/today/invoke
PowerShell:
Invoke-WebRequest -Uri https://localhost:40443/skills/timeskill/functions/today/invoke -Method Post -Body '{"Input":"Hello","Variables":[]}' -ContentType "application/json"
Hey @daiping0323, looks like we closed in this in this issue thread: https://github.com/microsoft/semantic-kernel/issues/912
You shouldn't be seeing those errors anymore if you have the latest changes from main. Let me know if that's not the case
Closing as dupe, feel free to reopen if issue persists