A newer version of the Gradio SDK is available:
6.2.0
metadata
title: Generative AI QA System
emoji: 🤖
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.19.2
app_file: app.py
pinned: false
license: apache-2.0
Generative AI Q/A System
This is a question-answering system that retrieves information from the Wikipedia page about Generative AI.
How to Use
- Go to the "Settings" tab and enter your OpenAI API key
- Click "Load Wikipedia Content" to fetch and process the data
- Go to the "Chat" tab to ask questions about Generative AI
Example Questions
- "What is GenAI?"
- "Early History of GenAI?"
- "What are Generative neural nets?"
Technical Details
This application uses:
- LangChain for document processing
- OpenAI's GPT-3.5-turbo for answering
- HuggingFace Embeddings for vector search
- FAISS for similarity search
- Wikipedia API for content
- Gradio for the user interface
Created by Anjali Haryani (Modified for Hugging Face deployment)