Skip to content

This code repo demonstrates how to use the word embedding model from Azure OpenAI Service to perform a semantic search on a grocery store dataset. This enhanced/completed version used Streamlit to build a web user experience to semantic search and display the most relevant items

Notifications You must be signed in to change notification settings

easonlai/product_semantic_search_streamlit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Product Semantic Search with Streamlit UI by Azure OpenAI Embedding model (text-embedding-ada-002)

In past code repo, "Semantic Search by Azure OpenAI Embedding model (text-embedding-ada-002)", it demonstrates how to use the word embedding model from Azure OpenAI Service to perform a semantic search on a grocery store dataset. The dataset contains 50 items with their names only. The word embedding model (text-embedding-ada-002) converts the items and search terms into high-dimensional vectors and computes their cosine similarity.

This enhanced/completed version used Streamlit to build a web user experience to semantic search and display the most relevant items.

alt text

To run this Streamlit web app

streamlit run app.py

Enjoy!

About

This code repo demonstrates how to use the word embedding model from Azure OpenAI Service to perform a semantic search on a grocery store dataset. This enhanced/completed version used Streamlit to build a web user experience to semantic search and display the most relevant items

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages