You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building and floor choices are hardcoded into the chatbot instead of being populated dynamically.
Please see PromptForBuildingStepAsync() and PromptForFloorStepAsync() within ConfirmDropoffDialog.cs.
return await step.PromptAsync( BuildingPromptName, new PromptOptions { Prompt = MessageFactory.Text("In which building did you park the car?"), Choices = new List<Choice> { new Choice("M"), new Choice("S1"), new Choice("GS"), new Choice("HX") }, }, cancellationToken);
var floors = new List<string>(); switch (state.Building) { case "M": floors = new List<string> { "-1", "-2", "-2.5", "-3", "-3.5", "outdoor" }; break; case "S1": floors = new List<string> { "-1", "-2", "-3" }; break; case "GS": floors = new List<string> { "-1", "outdoor" }; break; case "HX": floors = new List<string> { "-3" }; break; }
The text was updated successfully, but these errors were encountered:
Building and floor choices are hardcoded into the chatbot instead of being populated dynamically.
Please see PromptForBuildingStepAsync() and PromptForFloorStepAsync() within ConfirmDropoffDialog.cs.
return await step.PromptAsync( BuildingPromptName, new PromptOptions { Prompt = MessageFactory.Text("In which building did you park the car?"), Choices = new List<Choice> { new Choice("M"), new Choice("S1"), new Choice("GS"), new Choice("HX") }, }, cancellationToken);
var floors = new List<string>(); switch (state.Building) { case "M": floors = new List<string> { "-1", "-2", "-2.5", "-3", "-3.5", "outdoor" }; break; case "S1": floors = new List<string> { "-1", "-2", "-3" }; break; case "GS": floors = new List<string> { "-1", "outdoor" }; break; case "HX": floors = new List<string> { "-3" }; break; }
The text was updated successfully, but these errors were encountered: