Formatting Lex output String

0

Formatting Lex output String I'm using the C# implementation for Lambda and my code looks like this: Step1: string response = "Hi.. I'm Jenie your virtual assistant.'\n'Test"; Step2: string response = "Hi.. I'm Jenie your virtual assistant.\nTest";

Rakesh
posta 2 anni fa363 visualizzazioni
1 Risposta
0

Hi Rakesh,

Amazon Lex requires a very specific JSON output response from Lambda. Please look at the following Lex documentation to see the expected response, and make sure your C# code formats the output in a JSON format.

Link: https://docs.aws.amazon.com/lex/latest/dg/lambda-input-response-format.html#using-lambda-response-format

Lukas_A
con risposta 2 anni fa
AWS
TECNICO DI SUPPORTO
verificato 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande