streamingDetectIntentRequest = new StreamingDetectIntentRequest()
{
SingleUtterance = true,
Session = new SessionName("telebot-pianomoves-v1", "yoke").ToString(),
QueryInput = new QueryInput()
{
AudioConfig = new InputAudioConfig()
{
AudioEncoding = Google.Cloud.Dialogflow.V2.AudioEncoding.Linear16,
SampleRateHertz = 8000,
LanguageCode = "en-US",
PhraseHints = myStringArray
},
},
};
使用此代码,我收到错误提示,短语提示是只读的?如何为streamingDetectIntentRespinse提供短语提示?