Skip to content

A content-based recommender using Azure OpenAI for generating embeddings and a conversational experience.

License

Notifications You must be signed in to change notification settings

gallogiulia/aoai_recommender

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure OpenAI Product Recommender

AOAI_Recommendations.ipynb implements a content-based filtering recommendation system that matches a user's request to items from a product catalog using the descriptive (textual) information.

The first step is to generate embeddings for the textual item descriptions from the product catalog (using an Azure OpenAI embeddings model) that are referenced when a recommendation request is received.

When a user makes a request for a recommendation, an embedding is generated for their query. Each item in the catalog is scored based on the similarity between its embedding and the request embedding.

The recommender then uses the conversational capabilties of Azure OpenAI (ChatGPT) to provide an interactive experience for user's requesting recommendations. The prompt to ChatGPT is enriched with a set of the top scoring similar products along with the user's question, then the conversational flow can be used to narrow down the set of recommendations further.

About

A content-based recommender using Azure OpenAI for generating embeddings and a conversational experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%