Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

csharp autopilot samplecode for create-first-task is incorrect #727

Open
vamsi-allampati opened this issue Nov 30, 2018 · 0 comments
Open

Comments

@vamsi-allampati
Copy link

vamsi-allampati commented Nov 30, 2018

The task actions in the sample code should be an array:

var taskActions = new JObject {
    {
        "actions",
        new JArray {
            new JObject {
                { "say", "Hi there, I'm your virtual assistant! How can I help you?" }
            },
            new JObject {
                { "listen", true }
            }
        }
    }
};
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant