3
我正在使用BotFramework FormFlow。其中一個問題給出了用戶可以選擇的靜態選項列表。當用戶選擇Central Us時,它仍然要求澄清,是否有辦法避免這種情況,因爲用戶選擇的內容很明確。 Bot即使在靜態按鈕上也要求澄清
下面的代碼:
[Prompt("Please choose the region in which the cluster should be created {||}")]
public RegionOptions? DesiredGeoRegion;
public enum RegionOptions
{
AustraliaEast,
AustraliaSoutheast,
BrazilSouth,
CanadaCentral,
CanadaEast,
CentralIndia,
CentralUS,
EastAsia,
EastUS,
EastUS2,
JapanEast,
JapanWest,
NorthCentralUS,
NorthEurope,
SouthCentralUS,
SouthIndia,
SoutheastAsia,
UKNorth,
UKSouth2,
WestCentralUS,
WestEurope,
WestIndia,
WestUS,
WestUS2
}
你能發佈Enum代碼嗎? –
當然,我剛剛添加了Enum代碼 –