Adding markup to FAQ answers

0

When you upload FAQ documents, can you use markup within the Answer column in order to control how answers are formatted when displayed as part of a Lex Response? For example, is there a way to include a hyperlink within an Answer so that it is active in a Response?

from: https://docs.aws.amazon.com/lex/latest/dg/faq-bot-kendra-search.html

I found a FAQ question for you: ((x-amz-lex:kendra-search-response-question_answer-question-1)) and the answer is ((x-amz-lex:kendra-search-response-question_answer-answer-1)).

Answer: Just click on the link.

If I'm using the example Response given here with the example answer given here, is there a way to enter 'link' in the Answer so that it will be active when displayed as a Response within Lex?

질문됨 3년 전449회 조회
2개 답변
0

Kendra supports multiple document types so you might want to pick the appropriate document type such as HTML to support formatting

https://docs.aws.amazon.com/kendra/latest/dg/index-document-types.html

답변함 3년 전
0

Hi there!

Lex currently does not support Markup in the responses.

If you would like Lex to surface a document link, you could use the request attribute : x-amz-lex:kendra-search-response-document-link-<N>

Please see here for how to produce Kendra responses in Lex: https://docs.aws.amazon.com/lexv2/latest/dg/built-in-intent-kendra-search.html#kendra-search-response

AWS
답변함 3년 전

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

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

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

관련 콘텐츠