File size: 3,213 Bytes
67db642
 
 
 
 
 
 
 
 
2cfcdb3
67db642
2cfcdb3
67db642
a4f72d4
67db642
d566070
67db642
a4f72d4
67db642
33adc14
67db642
 
 
 
 
33adc14
67db642
a4f72d4
67db642
a4f72d4
67db642
a4f72d4
67db642
a4f72d4
67db642
a4f72d4
67db642
a4f72d4
67db642
 
 
 
 
a4f72d4
67db642
a4f72d4
67db642
 
 
 
 
a4f72d4
67db642
a4f72d4
67db642
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
---
title: DS598 AI Tutor
description: AI Assistant for Deep Learning for Data Science class (Spring 2025)
emoji: πŸŽ“
colorFrom: red
colorTo: green
sdk: docker
app_port: 7860
---

# DS701: Tools for Data Science - Education Chatbot

## Overview

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.

The chatbot is available on HuggingFace [here](https://dl4ds-sp25_tutor.hf.space).

## Features

- 24/7 availability for student queries
- Explanations of key data science concepts
- Guidance on using data science tools and libraries
- Practice problem suggestions and explanations
- Course syllabus and schedule information

## Getting Started Locally

To run the chatbot locally, follow these steps:

1. Clone this repository

   `git clone https://github.com/tools4ds/ds701-tutor.git`

2. Set up your Python environment

   a. Using venv (Python's built-in virtual environment):

   ```python
   python -m venv .venv
   source .venv/bin/activate  # On Windows, use: ds701_env\Scripts\activate
   pip install -r requirements.txt
   ```

   b. Using Conda:

   ```python
   conda create --name ds701_env python=3.9
   conda activate ds701_env
   conda install --file requirements.txt
   ```

Note: Make sure to use Python 3.9 or later.

3. Install dependencies

   `pip install edubotics-core`

4. Set up environment variables. See `apps/ai_tutor/.env.example` for reference.

5. Run the chatbot

   ```python
    cd apps/ai-tutor
    python app.py
   ```

   and navigate to localhost:8000 in your browser.

## Usage

Students can interact with the chatbot through the web interface.

Example queries:

- "Explain backpropogation."
- "What is the primary innnovation behind the Transformer?"
- "What's the difference between supervised and unsupervised learning?"

## Contributing

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:

1. Fork the repository and create your feature branch.
2. Make your changes, ensuring they align with the project's goals.
3. Submit a pull request with a clear description of your improvements.

For more detailed information on the contribution process, please refer to our `CONTRIBUTING.md` file (unavailable yet).

## Privacy and Data Handling

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`.

## Support

If you encounter any issues or have suggestions for improvement, please open an issue in this repository or contact the course instructor.

## License

This project is licensed under the MIT License - see the `LICENSE.md` file for details.