Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatWithWikipedia

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.

Features

  • 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

Getting Started

Prerequisites

  • Python 3.x
  • Streamlit
  • Wikipedia API Python wrapper
  • OpenAI
  • LangChain

Installation

  1. Clone this repository:

    git clone https://github.com/fpachisa/ChatWithWikipedia.git
  2. Navigate to the project directory:

    cd ChatWithWikipedia
  3. Install the required packages:

    pip install -r requirements.txt
  4. Run the Streamlit app:

    streamlit run ChatWithWikipedia.py

Visit http://localhost:8501 in your browser to access the application.

Usage

  1. Type in the topic you want to know more about.
  2. The application will fetch the summary from Wikipedia.
  3. Type in your question or query in the chat interface.

Contributing

Contributions are what make the open-source community an incredible place to learn, inspire, and create. Any contributions to this project are greatly appreciated.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/YourFeature)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature/YourFeature)
  5. Open a pull request

License

This project is licensed under the MIT License. See LICENSE for more information.

Contact

Your Name - fpachisa@gmail.com


About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages