Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,39 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
-
license:
|
| 11 |
-
short_description: Question Answering Q&A system using LangChain
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Generative AI QA System
|
| 3 |
+
emoji: 🤖
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.19.2
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
license: apache-2.0
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Generative AI Q/A System
|
| 14 |
+
|
| 15 |
+
This is a question-answering system that retrieves information from the Wikipedia page about Generative AI.
|
| 16 |
+
|
| 17 |
+
## How to Use
|
| 18 |
+
|
| 19 |
+
1. Go to the "Settings" tab and enter your OpenAI API key
|
| 20 |
+
2. Click "Load Wikipedia Content" to fetch and process the data
|
| 21 |
+
3. Go to the "Chat" tab to ask questions about Generative AI
|
| 22 |
+
|
| 23 |
+
## Example Questions
|
| 24 |
+
|
| 25 |
+
- "What is GenAI?"
|
| 26 |
+
- "Early History of GenAI?"
|
| 27 |
+
- "What are Generative neural nets?"
|
| 28 |
+
|
| 29 |
+
## Technical Details
|
| 30 |
+
|
| 31 |
+
This application uses:
|
| 32 |
+
- LangChain for document processing
|
| 33 |
+
- OpenAI's GPT-3.5-turbo for answering
|
| 34 |
+
- HuggingFace Embeddings for vector search
|
| 35 |
+
- FAISS for similarity search
|
| 36 |
+
- Wikipedia API for content
|
| 37 |
+
- Gradio for the user interface
|
| 38 |
+
|
| 39 |
+
Created by Anjali Haryani (Modified for Hugging Face deployment)
|