LexRuntimeV2::LexRuntimeV2Client::StartConversationAsync not generating events

0

We're trying to get streaming working with C++ LexRuntimeV2Client. I'm making a successful call to "PutSession," then attempting to start the stream by calling "StartConversationAsync." Code looks like this:

` LexRuntimeV2::Model::StartConversationHandler convoHandler = LexRuntimeV2::Model::StartConversationHandler();

convoHandler.SetTextResponseEventCallback(textEvent);
convoHandler.SetIntentResultEventCallback(intentEvent);
convoHandler.SetOnErrorCallback(errorEvent);
convoHandler.SetHeartbeatEventCallback(heartbeatEvent);

startConvo.WithBotId(BotId)
    .WithBotAliasId(BotAliasId)
    .WithLocaleId(Locale)
    .WithSessionId(ConvoSession)
    .WithEventStreamHandler(convoHandler)
    .WithConversationMode(Aws::LexRuntimeV2::Model::ConversationMode::TEXT);

client.StartConversationAsync(startConvo, readyHandler, responseHandler);

I'm getting a callback to "readyHandler" but none of the other callbacks are firing. I've read some sources that suggest that the issue is WinHttp client, but it's not clear how to switch to curl on Windows to test. Currently testing this on Windows, but the target deployment will be a Linux Docker container.

Documentation is very very light for this API so I may definitely be calling it incorrectly. I can successfully call "RecognizeText" on the bot and get proper results so I know the client & bot are configured properly.

Any help for how to make this call would be appreciated.

질문됨 2년 전70회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠