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?

asked 2 years ago357 views
2 Answers
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

answered 2 years ago
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions