I have a database of records in Cosmos DB. I want to write something that would allow me to, given a particular record (let’s say it has a description), find the top 5 records with the most similar descriptions to that particular record. What would be the best Azure service to accomplish this?
I looked into text analytics, but it didn’t seem to have the functionality I’d need. Maybe I’m wrong, open to any suggestions!
2
Answers
It could be worth looking into Power BI. I’ve never worked with Cosmos DB but the Microsoft documentation should help you get started https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/powerbi-visualize
Data source
index
indexer
6. Using Azure search explorer, given a query term as below to get only top 5 records containing term apples.
$top=5&search=’apples’
Here is the output of above query,
Reference: https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/quickstart-portal#add-data-to-your-database