Behavior of Direct Answers - Entities with multiple same words

Hi everyone -

Many of my entities in KG have Names with multiple words and sometimes overlapping words (for examples: “Garlic Fries” and “Garlic Bread” [menu items], “Italian Pizza” and “Hawaiian Pizza” [menu items], or “Casserole pan with Glass Cover” and “Saucepan with Glass Cover” [products]). When trying to create direct answers for these (such as calories), I am running into the issue where it cannot reconcile to one entity.

Is it possible to denote certain phrases as one? Are there workarounds you might recommend for this sort of thing?

As an additional callout, for the Pizza items, I thought about adjusting the NLPfilter or textSearch on the name field but I have facets (and in turn, NLPfilter) on the Menu Category titles (“Pizza” is a menu category).

Let me know what you guys think!
Thanks in advance!

Hey @Alyssa_Hubbard,

As you mentioned for direct answers to show up the search needs to resolve to a specific entity. As of now there isn’t a great way to fix this problem without impacting the underlying search experience.

We have two items on the roadmap to improve this situation.

1. Inline Direct Answers
In certain cases we aren’t 100% sure which entity the users is referring to but we KNOW they are looking for calories. Instead of showing calories at the top as a direct answer, we will show calories within each card as an inline direct answer. So this feature will dynamically display different content on the cards depending on what the user is search for.

2. Showing Direct Answer with Multiple Results
We are beginning to roll out BERT to the search engine. This will give us much better capabilities around NLU. One use case is to have a much higher confidence that a user is asking a direct question (aka factoid). If we are confident the user is searching a direct question we will show a direct answer for the first entity in the list. This is likely the entity they were looking for and if not they can see the other ones below.

Let me know if you have any questions,
Max