Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
@@ -8,4 +8,28 @@ pinned: false
|
|
8 |
license: lgpl-3.0
|
9 |
---
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
license: lgpl-3.0
|
9 |
---
|
10 |
|
11 |
+
# *CLAS Basic Interaction Exercise*
|
12 |
+
|
13 |
+
The Basic Interaction Exercise is web-based Chat interface that allows students to interact with a chatbot tutor. The tutor acts based on an instructor-designed prompt, not visible to students. At the end of the conversation, the entire conversation is made available as downloadable JSON, CSV, or TXT file such that students can download it and turn it in to Brightspace. Ideated by Jesse Blocher (Ph.D.).
|
14 |
+
|
15 |
+
# How to Run the App - Instructors
|
16 |
+
|
17 |
+
1. To clone the space, toggle on the three dots at the top right of the interface and click "Duplicate this space."
|
18 |
+
2. In the pop-up, input secret values for PIPLOC, OPEN_AI_KEY, SECRET_PROMPT. These values will not be visible after this step.
|
19 |
+
|
20 |
+
# How to Use the App - Students
|
21 |
+
|
22 |
+
1. Click the "Initialize Tutor" button at the top of the screen.
|
23 |
+
2. Type something into the User Input box, and click the "Ask/answer model" button. The chatbot will respond to your message.
|
24 |
+
3. Repeat step 2 to continue the back-and-forth interaction with the chatbot tutor.
|
25 |
+
4. To view the conversation history, you may click the "View your chat history" button.
|
26 |
+
5. When you have completed your interaction, export your chat history in the form of a .json, .txt, or .csv file by clicking the "JSON", "TXT", or "CSV" button at the bottom of the screen.
|
27 |
+
|
28 |
+
# How to Modify the App
|
29 |
+
|
30 |
+
1. To modify the app, navigate to the "Files" page.
|
31 |
+
2. Open the file named "app.py," and click the green "contribute" button above the code.
|
32 |
+
3. Make desired modifications.
|
33 |
+
4. Under "Propose changes", type a message to submit with your pull request.
|
34 |
+
5. Add extended description, if desired.
|
35 |
+
6. Click the "Open a Pull Request" button.
|