lilyhof commited on
Commit
ca2a104
·
1 Parent(s): 487261a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -1
README.md CHANGED
@@ -9,4 +9,29 @@ app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  pinned: false
10
  ---
11
 
12
+
13
+ # *CLAS Basic Interaction Exercise*
14
+
15
+ The Basic Interaction Exercise is web-based Chat interface where students interact with the chatbot that has had the instructor-designed prompt given to it but they cannot see the prompt. At the end of the conversation, entire convo is made available as downloadable JSON such that students can download it and turn it in to Brightspace. Ideated by Jesse Blocher (Ph.D.).
16
+
17
+ # How to Run the App
18
+
19
+ 1. To clone the space, toggle on the three dots at the top right of the interface and click "Duplicate this space."
20
+ 2. In the pop-up, input secret values for OPEN_AI_KEY and SECRET_PROMPT. These values will not be visible after this step.
21
+
22
+ # How to Use the App
23
+
24
+ ### Students
25
+
26
+ 1. Type something into the user input box, and click the "Send" button. The chatbot will respond to your message.
27
+ 2. Repeat step 1 to continue interaction with the chatbot instructor.
28
+ 3. Under "Generate the JSON file for your chat history!", click the "Generate" button to export your chat history as a JSON file.
29
+
30
+ # How to Modify the App
31
+
32
+ 1. To modify the app, navigate to the "Files" page.
33
+ 2. Open the file named "app.py," and click the green "contribute" button above the code.
34
+ 3. Make desired modifications.
35
+ 4. Under "Propose changes", type a message to submit with your pull request.
36
+ 5. Add extended description, if desired.
37
+ 6. Click the "Open a Pull Request" button.