Give a website link to AI and ask questions
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
This project is built using Python and the LangChain framework. Users can input the URL of the desired website and ask questions to the AI.
The project leverages LangChain's Retrieval Augmented Generation (RAG) system to utilize external data sources. Through the processes of loading, transforming, and embedding, the data is stored in a vector store. Refined answers are then retrieved using the LangChain system.
In this project, the main language model employed is OpenAI's GPT-3.5 Turbo. The frontend chatbot interface is implemented using Streamlit, a pure Python UI library.
Follow the instructions in the "Installation" section below to create your own chatbot!
- Get API Key at https://platform.openai.com/
-
Clone the repo
git clone https://github.com/Jay-Sung-Lim/AI-ChatBot.git -
Enter your API Key in
.streamlit/.secrets.tomlOPENAI_API_KEY = YOUR_API_KEY_HERE -
Install Virtual Environment
python -m venv env -
Activate Virtual Environment
source env/bin/activate -
Install Python Packages
pip install -r requirements.txt -
Run Home.py with Streamlit
streamlit run Home.py
The website is deployed and hosted through Streamlit Cloud. You can access the live website at https://ai-chatbot-hackville2024.streamlit.app/.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License. See the License.txt file for details.