Farid Karimli commited on
Commit
67db642
·
1 Parent(s): 527151b

Add README for HF

Browse files
Files changed (1) hide show
  1. README.md +83 -39
README.md CHANGED
@@ -1,56 +1,100 @@
1
- <p align="center">
2
- <a href="http://docs.edubotics.ai/">
3
- <img src="https://github.com/edubotics-ai/.github/blob/main/assets/images/edubot-mascot.png?raw=true" alt="edubotics-ai" width="10%" height="10%">
4
- </a>
5
- </p>
6
- <p align="center">
7
- <em>Edubotics AI - Empower Education with AI: Create Intelligent Chatbots Quickly and Efficiently</em>
8
- </p>
9
- <p align="center">
10
- <a href="https://github.com/edubotics-ai/edubotics-app/blob/main/LICENSE">
11
- <img src="https://img.shields.io/github/license/edubotics-ai/edubotics-app.svg">
12
- </a>
13
- <img src="https://img.shields.io/github/stars/edubotics-ai/edubotics-app.svg">
14
- <a href="https://discord.com/channels/1293271626036805653">
15
- <img alt="Discord" src="https://img.shields.io/discord/1293271626036805653?style=flat&logo=discord&label=Discord">
16
- </a>
17
 
18
- </p>
19
 
20
- # Edubotics-Core Setup
21
 
22
- This repository is an example of how to build an application that incorporates the `edubotics-core` package. We suggest you fork this repository and
23
- then adapt it your application domain.
24
 
25
- ## Installation
26
 
27
- To install `edubotics-core`, run the following command:
28
 
29
- ```bash
30
- pip install edubotics-core
31
- ```
 
 
32
 
33
- ## Documentation
34
 
35
- For detailed instructions on the initial setup (setting up .env file, required Keys, etc), please refer to our [documentation](http://docs.edubotics.ai).
36
 
37
- ## Templates
38
 
39
- To get started, check out the templates located in the `apps/` directory.
40
 
41
- ## Config Files
42
 
43
- - **config.yml**: This file controls various chatbot settings such as the default vector store and architecture type.
44
- - **project_config.yml**: Use this file to customize settings specific to your project.
45
 
46
- ## Create Your Vectorstore
 
 
 
 
47
 
48
- Once you have set up your config files, you can create your vector store by running:
49
 
50
- ```bash
51
- vectorstore_creator --config_file path_to_your_config.yml --project_config_file path_to_your_project_config.yml
52
- ```
 
 
53
 
54
- ## Start Your App
55
 
56
- After creating your vector store, you can start up your app and get going!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: DS598 AI Tutor
3
+ description: AI Assistant for Deep Learning for Data Science class (Spring 2025)
4
+ emoji: 🎓
5
+ colorFrom: red
6
+ colorTo: green
7
+ sdk: docker
8
+ app_port: 7860
9
+ ---
 
 
 
 
 
 
 
10
 
11
+ # DS701: Tools for Data Science - Education Chatbot
12
 
13
+ ## Overview
14
 
15
+ This repository contains an LLM-based chatbot designed for the Spring 2025 iteration [DS598: Deep Learning for Data Science](https://dl4ds.github.io/sp2025/) course at Boston University. The chatbot serves as an interactive learning assistant, helping students with course-related queries, explanations of concepts, and guidance on data science tools. It is powered by [edubotics-core](https://github.com/edubotics-ai/edubotics-core) a package of modules for data loading, vector store creation and management.
 
16
 
17
+ The chatbot is available on HuggingFace [here](https://dl4ds-sp25_tutor.hf.space).
18
 
19
+ ## Features
20
 
21
+ - 24/7 availability for student queries
22
+ - Explanations of key data science concepts
23
+ - Guidance on using data science tools and libraries
24
+ - Practice problem suggestions and explanations
25
+ - Course syllabus and schedule information
26
 
27
+ ## Getting Started Locally
28
 
29
+ To run the chatbot locally, follow these steps:
30
 
31
+ 1. Clone this repository
32
 
33
+ `git clone https://github.com/tools4ds/ds701-tutor.git`
34
 
35
+ 2. Set up your Python environment
36
 
37
+ a. Using venv (Python's built-in virtual environment):
 
38
 
39
+ ```python
40
+ python -m venv .venv
41
+ source .venv/bin/activate # On Windows, use: ds701_env\Scripts\activate
42
+ pip install -r requirements.txt
43
+ ```
44
 
45
+ b. Using Conda:
46
 
47
+ ```python
48
+ conda create --name ds701_env python=3.9
49
+ conda activate ds701_env
50
+ conda install --file requirements.txt
51
+ ```
52
 
53
+ Note: Make sure to use Python 3.9 or later.
54
 
55
+ 3. Install dependencies
56
+
57
+ `pip install edubotics-core`
58
+
59
+ 4. Set up environment variables. See `apps/ai_tutor/.env.example` for reference.
60
+
61
+ 5. Run the chatbot
62
+
63
+ ```python
64
+ cd apps/ai-tutor
65
+ python app.py
66
+ ```
67
+
68
+ and navigate to localhost:8000 in your browser.
69
+
70
+ ## Usage
71
+
72
+ Students can interact with the chatbot through the web interface.
73
+
74
+ Example queries:
75
+
76
+ - "Explain backpropogation."
77
+ - "What is the primary innnovation behind the Transformer?"
78
+ - "What's the difference between supervised and unsupervised learning?"
79
+
80
+ ## Contributing
81
+
82
+ We welcome contributions from the community to enhance the DS701 AI Tutor. Whether you're a student, instructor, or developer, your input is valuable. Here's how you can contribute:
83
+
84
+ 1. Fork the repository and create your feature branch.
85
+ 2. Make your changes, ensuring they align with the project's goals.
86
+ 3. Submit a pull request with a clear description of your improvements.
87
+
88
+ For more detailed information on the contribution process, please refer to our `CONTRIBUTING.md` file (unavailable yet).
89
+
90
+ ## Privacy and Data Handling
91
+
92
+ This chatbot is designed with student privacy in mind. No personal information is stored, and all interactions are anonymized. For more details, please refer to our `PRIVACY_POLICY.md`.
93
+
94
+ ## Support
95
+
96
+ If you encounter any issues or have suggestions for improvement, please open an issue in this repository or contact the course instructor.
97
+
98
+ ## License
99
+
100
+ This project is licensed under the MIT License - see the `LICENSE.md` file for details.