Getting Best Match via Entity Search API

Rajiv_Nagesh
edited December 2024 in Entity Search

Hi, Please see my code below

Screenshot 2024-12-18 100531.png


my sanctions_df_upgrade has a column caption which are company names. I am looping over that column and mapping it against the PermID db via the Entity Search API

My ask is - now I am assuming that the first match found with the parameter num set to 1 is the best match.
But is there a better way to get the best match from an input string?
Can we tune it to get the best match?

Please any leads would be helpful - Thanks

Answers