Spaces:
Sleeping
Sleeping
new
Browse files
README.md
CHANGED
@@ -1,8 +1,68 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
5 |
sdk: gradio
|
6 |
-
sdk_version: 5.
|
7 |
app_file: app.py
|
8 |
-
pinned: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: AnalyticsVidya Assignment
|
3 |
+
emoji: 💬
|
4 |
+
colorFrom: yellow
|
5 |
+
colorTo: purple
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.0.1
|
8 |
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
short_description: This smart search feature should now be live on Hugging Face
|
11 |
+
license: mit
|
12 |
+
---
|
13 |
+
|
14 |
+
An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
|
15 |
+
|
16 |
+
Analytics Vidhya Course Chatbot
|
17 |
+
|
18 |
+
This project is a chatbot interface designed to help users explore courses on Analytics Vidhya. The chatbot, built using Gradio and Python, provides information on course offerings, content, instructors, ratings, pricing, and more. This tool is useful for users seeking quick guidance on the Analytics Vidhya course catalog, making it easier to find courses based on specific learning objectives.
|
19 |
+
Features
|
20 |
+
|
21 |
+
Course Information: Provides details on course titles, ratings, lesson counts, and prices.
|
22 |
+
Customized Responses: Bot assists users with tailored recommendations based on their queries about Analytics Vidhya courses.
|
23 |
+
Gradio Interface: A user-friendly UI built with Gradio for seamless interaction with the chatbot.
|
24 |
+
Data Scraping: Course data is scraped from the Analytics Vidhya website using BeautifulSoup.
|
25 |
+
Embedding Support: Uses embeddings for enhanced search capability, allowing users to receive more accurate course recommendations.
|
26 |
+
|
27 |
+
Installation
|
28 |
+
|
29 |
+
To run this project locally, follow these steps:
|
30 |
+
|
31 |
+
Clone the Repository
|
32 |
+
|
33 |
+
git clone https://github.com/your-username/analytics-vidhya-course-chatbot.git
|
34 |
+
cd analytics-vidhya-course-chatbot
|
35 |
+
|
36 |
+
Install Dependencies This project requires Python 3.10+ and the following libraries:
|
37 |
+
|
38 |
+
pip install -r requirements.txt
|
39 |
+
|
40 |
+
Run the Application
|
41 |
+
|
42 |
+
python app.py
|
43 |
+
|
44 |
+
Usage
|
45 |
+
|
46 |
+
Open the Gradio interface on your browser.
|
47 |
+
Enter a question or request information about a specific course.
|
48 |
+
The bot will respond with details such as course title, lesson count, review ratings, and price.
|
49 |
+
|
50 |
+
Example Queries
|
51 |
+
|
52 |
+
"What are the top courses on Analytics Vidhya?"
|
53 |
+
"Can you recommend courses related to data science?"
|
54 |
+
"What’s the lesson count and rating for the 'Introduction to Business Analytics' course?"
|
55 |
+
|
56 |
+
File Structure
|
57 |
+
|
58 |
+
app.py - Main application file that defines the Gradio interface and chatbot functionality.
|
59 |
+
scraper.py - Contains the code for scraping course data from the Analytics Vidhya website.
|
60 |
+
requirements.txt - Lists the dependencies required to run the project.
|
61 |
+
README.md - Project documentation.
|
62 |
+
|
63 |
+
Dependencies
|
64 |
+
|
65 |
+
gradio: For building the user interface.
|
66 |
+
beautifulsoup4: For web scraping course details.
|
67 |
+
pandas: For handling scraped data.
|
68 |
+
sentence-transformers: For generating embeddings to enhance search relevance.
|