keefereuther commited on
Commit
4cbf3ab
·
verified ·
1 Parent(s): d9f0974

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +45 -76
README.md CHANGED
@@ -1,101 +1,70 @@
1
  ---
2
- title: Schema Study for BILD 5 Version 1
3
  emoji: 📚
4
  colorFrom: green
5
- colorTo: green
6
  sdk: streamlit
7
  sdk_version: 1.45.0
8
  app_file: app.py
9
  pinned: true
10
  license: gpl-3.0
11
- short_description: Study app chatbot based on OpenAI API
12
  ---
13
 
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
15
-
16
  # Schema Study: An AI-Enhanced Study App for Biology Students
17
 
18
- Schema Study is a DIY AI-Enhanced Study App designed to assist biology students in mastering core course concepts through interactive study sessions. This application leverages AI technology to provide instant feedback and guidance, making it a valuable tool for both students and educators.
19
-
20
- ## Pedagogical Value
21
-
22
- Schema Study enhances the learning experience by:
23
-
24
- - **Promoting Active Learning:** Students engage with course material interactively, which helps reinforce their understanding.
25
- - **Providing Instant Feedback:** The AI-powered chatbot offers immediate responses, allowing students to correct misconceptions in real-time.
26
- - **Encouraging Critical Thinking:** By using the Socratic method, the app guides students to explore concepts deeply and make connections between different terms.
27
- - **Customizable Content:** Educators can tailor the app to their curriculum by uploading specific terms and schemas, ensuring relevance to their course.
28
 
29
  ## Features
30
-
31
- - **Password Protection:** Ensures secure access to the app.
32
- - **Customizable Terms:** Educators can upload a CSV file with their own terms and schemas.
33
- - **AI-Enhanced Feedback:** Utilizes OpenAI's GPT-4o model to provide detailed explanations and formative feedback.
34
- - **Interactive Chat:** Engages students in a dialogue with the AI chatbot to deepen their understanding.
35
-
36
- ## How the App Works
37
-
38
- ### For Students
39
-
40
- 1. **Access the App:** Open your web browser and navigate to `http://localhost:8501`. Enter the password when prompted.
41
- 2. **Upload Terms:** Use the sidebar file uploader to upload a CSV file containing terms and schemas. The file should have two columns: `TERM` and `SCHEMA`.
42
- 3. **Start Studying:** Click the button to select a random term and begin your interactive study session with the AI chatbot.
43
- 4. **Engage with the AI:** Use the chat interface to ask questions and receive feedback on your understanding of the term.
44
-
45
- ### For Instructors
46
-
47
- 1. **Clone the Repository:**
48
-
49
- ```bash
50
- git clone https://github.com/keefereuther/schema_study.git
51
- cd schema_study
52
- ```
53
-
54
- 2. **Install the Required Packages:**
55
-
56
  ```bash
57
- pip install -r requirements.txt
58
- ```
59
-
60
- 3. **Set Up Your Configuration:**
61
-
62
- Update the `config.py` file with your desired settings.
63
-
64
- 4. **Create a '.streamlit/secrets.toml' file and directory.**
65
-
66
- Add your OpenAI API key and the app password:
67
-
68
- ```toml
69
- [general]
70
- OPENAI_API_KEY = "your-openai-api-key"
71
- password = "your-app-password"
72
  ```
73
-
74
- 5. **Run the App:**
75
-
 
 
 
 
 
 
76
  ```bash
77
- streamlit run app.py
 
 
78
  ```
79
 
80
  ## Configuration
81
-
82
- The `config.py` file contains customizable settings for the app. Key settings include:
83
-
84
- - `app_title`: The title of the app.
85
- - `app_author`: Author information.
86
- - `instructions`: Instructions for using the app.
87
- - `sidebar_title`: Title for the sidebar section.
88
- - `default_terms_csv`: Default CSV file for terms.
89
- - AI model settings like `ai_model`, `temperature`, `max_tokens`, `frequency_penalty`, and `presence_penalty`.
90
-
91
- ## Contributing
92
-
93
- Contributions are welcome! Please fork the repository and submit pull requests for any improvements or bug fixes.
94
 
95
  ## License
96
-
97
- This project is licensed under the GNU GPL-3 License - see the [LICENSE](LICENSE) file for details.
98
 
99
  ## Acknowledgments
100
 
101
- Developed by Keefe Reuther and Liam O Mueller, Assistant Teaching Professors in the UC San Diego School of Biological Sciences. Special thanks to the members of the Reuther Lab for their support and contributions.
 
1
  ---
2
+ title: Schema Study - BILD 5 V2.0
3
  emoji: 📚
4
  colorFrom: green
5
+ colorTo: gray
6
  sdk: streamlit
7
  sdk_version: 1.45.0
8
  app_file: app.py
9
  pinned: true
10
  license: gpl-3.0
11
+ short_description: AI-enhanced study app for UCSD BILD5 biology students
12
  ---
13
 
 
 
14
  # Schema Study: An AI-Enhanced Study App for Biology Students
15
 
16
+ Schema Study is a modern, interactive study app designed to help biology students master core course concepts through AI-powered conversations. The app leverages OpenAI's GPT models to provide instant feedback, Socratic questioning, and personalized study support.
 
 
 
 
 
 
 
 
 
17
 
18
  ## Features
19
+ - **Password Protection:** Secure access for your class or group.
20
+ - **Customizable Terms:** Use your own CSV file of terms and definitions.
21
+ - **Prompt Templates:** Engage with the material using creative, research-based prompts.
22
+ - **AI-Enhanced Feedback:** Get instant, formative feedback and guidance.
23
+ - **Professional, Accessible UI:** Clean, modern design with a color palette for clarity and focus.
24
+
25
+ ## How to Use (Students)
26
+ 1. **Access the App:** Go to your Hugging Face Space URL. Enter the password provided by your instructor.
27
+ 2. **Select a Term:** Use the dropdown to pick a course term.
28
+ 3. **Start Studying:** Respond to the prompt or use a template button to begin your session.
29
+ 4. **Chat with the AI:** Ask questions, answer prompts, and explore the term in depth.
30
+
31
+ ## How to Use (Instructors)
32
+ 1. **Clone or Fork the Space:**
 
 
 
 
 
 
 
 
 
 
 
 
33
  ```bash
34
+ git clone https://huggingface.co/spaces/<your-username>/<your-space-name>
35
+ cd <your-space-name>
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  ```
37
+ 2. **Edit Configuration:**
38
+ - Update `config.py` for your course (title, instructions, prompt templates, etc).
39
+ - Place your terms CSV (e.g., `all_terms.csv`) in the root directory. Format: first column = term, second column = context/definition.
40
+ 3. **Set Secrets:**
41
+ - In your Space, go to **Settings > Repository secrets** and add:
42
+ - `OPENAI_API_KEY` (your OpenAI API key)
43
+ - `username` (for app login)
44
+ - `password` (for app login)
45
+ 4. **Push Changes:**
46
  ```bash
47
+ git add .
48
+ git commit -m "Update configuration and terms"
49
+ git push
50
  ```
51
 
52
  ## Configuration
53
+ - All settings are in `config.py` (title, instructions, prompt templates, resources, AI model parameters, etc).
54
+ - Theming is managed via `.streamlit/config.toml` and custom CSS in `app.py`.
55
+ - Dependencies are listed in `requirements.txt`.
56
+
57
+ ## File Structure
58
+ - `app.py` Main Streamlit app
59
+ - `config.py` All app settings and customization
60
+ - `.streamlit/config.toml` Theme colors
61
+ - `requirements.txt` Python dependencies
62
+ - `all_terms.csv` — Your course terms and definitions
63
+ - `BILD_5_Syllabus_Reuther_SP25.pdf` — Example resource
 
 
64
 
65
  ## License
66
+ This project is licensed under the GNU GPL-3 License. See the [LICENSE](LICENSE) file for details.
 
67
 
68
  ## Acknowledgments
69
 
70
+ Developed by Keefe Reuther, Assistant Teaching Professor in the UC San Diego School of Biological Sciences. Special thanks to Dr. Liam O Mueller and the members of the Reuther Lab for their support and contributions.