This is a simple Streamlit application that allows you to search for information on Wikipedia. It uses the Langchain library to interact with the Wikipedia API.
- Clone the repository:
git clone https://github.com/your-username/your-repository.git
- Install the required dependencies using pip:
pip install streamlit langchain
- Create a virtual environment (optional but recommended):
python -m venv myenv
source myenv/bin/activate
- Run the application:
streamlit run app.py
-
Once the application is running, you will see a text input field with the label "Prompt>>>".
-
Enter a search query or topic you want to search on Wikipedia.
-
Press Enter or click outside the input field to trigger the search.
-
The application will retrieve the Wikipedia page's summary for the provided query and display it below the input field.
- Streamlit: A Python library for building interactive web applications.
- Langchain: A library for interacting with language-related APIs, including Wikipedia.
Once u have followed these instructions u will see a window like this:

The final window setup:

