-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customizable Kendra Fallback #630
Comments
Thanks @e-ndrus for submitting the suggestion. I think this sounds like a reasonable enhancement, however I'm not clear on the 'indicate which fields to return' feature. Do you mean to filter out specific document attributes from the QnABot response (for example, removing the source URI)? If this isn't what you meant, can you provide an example? |
@marcburnie the default Kendra Fallback answer looks something like this:
As you can see, the current format is not very clear to the end user. The problem is that KendraFallback presents a user with a A use case would be something like a Kendra index with documents having several custom fields. Let's say: plan, state, brand, etc. We wouldn't want that info to be merged into and shown as a Kendra highlight, rather as separate untrimmed fields. For example:
It would be great if we could customize KendraFallback output as shown to QnABot users. |
Thanks for the clarification. We will evaluate this and get back to you. |
Hi all, coming back to this as we're building out our roadmap for next year, and are looking at leveraging LLMs for a similar feature. E-ndrus - Can you clarify what new functionality you want to achieve with your recommendation? I'd like to evaluate if there are options outside of customizing our kendra fallback that would achieve the same results. |
Well, the functionality we are aiming for is a more customizable Kendra fallback output. A search result highlight is sometimes not what clients want. Let's say we have documents in Kendra with custom fields. And we want to see a whole search result where we would return some of those custom fields not piled and trimmed by the Kendra highlight as it is right now. An option to overcome this hurdle is to use a custom lambda hook and query Kendra API in a lambda hook. Thus we can tweak the output and return the results the way we want. It would be great to have this level of customazability in Kendra Fallback by default. |
+1 |
Is your feature request related to a problem? Please describe.
Kendra Fallback is a great feature of a QnA Bot. However, it seems like we cannot customize Kendra output to meet our needs unless we edit the
es-proxy-layer
. For instance, by default Kendra would return a highlight which concatenates fields if there are multiple custom fields within the Kendra index.Describe the feature you'd like
Would it be possible to make it customizable what Kendra fallback returns. For instance, indicate which fields to return or whether to trim the highlight?
Additional context
We are currently experimenting with QnA Bot Version v5.3.4.
The text was updated successfully, but these errors were encountered: