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
질문됨 2년 전363회 조회
1개 답변
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
답변함 2년 전
AWS
지원 엔지니어
검토됨 2년 전

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

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

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