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?

gefragt vor 2 Jahren362 Aufrufe
2 Antworten
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

beantwortet vor 2 Jahren
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen