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!
answered 3 years ago
Relevant content
- asked 3 years ago
- asked 3 years ago
- asked a month ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Hi, I just want to get an answer regarding Kendra & Lex. We have a Lex which is connected with Kendra, When Lex didn't found any answer it search in Kendra and it gives result, In search result We are getting Source Link and that link is contaning S3 link with a token, Is there any way where we can replace that s3 link with a cloudfront link or a sub domain linked with cloudfront?