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?

feita há 2 anos362 visualizações
2 Respostas
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

respondido há 2 anos
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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas