1 Answer
- Newest
- Most votes
- Most comments
2
Thank you for reaching out! Kendra's QueryResultItem does not return the DocumentURI field if the result type is QUESTION_ANSWER, hence Lex is unable to surface this value.
When the Kendra query results are of the other two types, Kendra does return the DocumentURI, and Lex provides the capability to access the URI of the DOCUMENT type results via the request attribute "x-amz-lex:kendra-search-response-document-link-<N>".
I hope this helps!
Relevant content
- asked 4 years ago
- asked 4 years ago
- asked 4 years ago
