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?

已提问 2 年前362 查看次数
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

已回答 2 年前
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
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容