practical-tutorials / project-based-learning

Curated list of project-based tutorials
MIT License
199.39k stars 26k forks source link

Add Streamlit Tutorial: Building an Interactive Question Answering App with Streamlit, Transformers, and Langchain WikipediaAPIWrapper #493

Open flyfir248 opened 9 months ago

flyfir248 commented 9 months ago

This pull request adds a comprehensive tutorial titled "Building an Interactive Question Answering App with Streamlit, Transformers, and Langchain WikipediaAPIWrapper" to the Python section. The tutorial guides users through the process of creating an interactive question-and-answer program using Streamlit, Transformers, and Langchain's WikipediaAPIWrapper.

The tutorial covers various aspects, including setting up the environment, importing libraries, creating the Streamlit app, loading the question answering model, creating the question answering pipeline, handling user input, and providing a demonstration. Additionally, it introduces Langchain and its WikipediaAPIWrapper, showcasing their role in accessing contextual information seamlessly.

The tutorial aims to be informative, guiding readers step by step, and includes a demonstration of the developed program. The provided code examples and explanations should make it accessible for readers interested in building similar applications.

For more details, please refer to the Medium Article

This contribution aligns with the guidelines outlined in the CONTRIBUTING document, and I have ensured that URLs and resources are valid.

Types of changes

Checklist: