Loading repository data…
Loading repository data…
easonlai / repository
This code example shows how to make a chatbot for semantic search over documents using Streamlit, LangChain, and various vector databases. The chatbot lets users ask questions and get answers from a document collection. The code is in Python and can be customized for different scenarios and data.
This repository contains a code example for how to build an interactive chatbot for semantic search over documents. The chatbot allows users to ask natural language questions and get relevant answers from a collection of documents. The chatbot uses Streamlit for web and chatbot interface, LangChain, and leverages various types of vector databases, such as Pinecone, Chroma, and Azure Cognitive Search’s Vector Search, to perform efficient and accurate similarity search. The code is written in Python and can be easily modified to suit different use cases and data sources.
Please also check out my story in Medium (Streamlit and Vector Databases: A Guide to Creating Interactive Web Apps for Semantic Search over Documents) for more detail sharing.
To run this Streamlit web app
streamlit run app_pinecone.py
High-level architecture and flow of this Semantic Search over Documents demo

Enjoy!