Welcome to the Wikipedia Chat project! This application allows users to engage in a chat-like interface with Wikipedia, harnessing the power of the Wikipedia API and the OpenAI LLM to fetch and present information in a conversational manner.
- Interactive Chat Interface: Engage with Wikipedia as if you're chatting with a knowledgeable friend.
- Powered by Streamlit: An easy-to-use app framework that brings this project to life.
- Wikipedia API Integration: Directly fetches authentic data from Wikipedia.
- OpenAI Model: Uses the LLM model to structure and present information in a conversational format.
- LangChain Framework: For creating embeddings, vector store, generating summaries
- Python 3.x
- Streamlit
- Wikipedia API Python wrapper
- OpenAI
- LangChain
-
Clone this repository:
git clone https://github.com/fpachisa/ChatWithWikipedia.git
-
Navigate to the project directory:
cd ChatWithWikipedia -
Install the required packages:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run ChatWithWikipedia.py
Visit http://localhost:8501 in your browser to access the application.
- Type in the topic you want to know more about.
- The application will fetch the summary from Wikipedia.
- Type in your question or query in the chat interface.
Contributions are what make the open-source community an incredible place to learn, inspire, and create. Any contributions to this project are greatly appreciated.
- Fork the project
- Create your feature branch (
git checkout -b feature/YourFeature) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/YourFeature) - Open a pull request
This project is licensed under the MIT License. See LICENSE for more information.
Your Name - fpachisa@gmail.com