Spaces:
Runtime error
Runtime error
metadata
title: CLAS Basic Interaction App
emoji: π
colorFrom: red
colorTo: indigo
sdk: docker
pinned: false
license: lgpl-3.0
CLAS Basic Interaction Exercise
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.).
How to Run the App - Instructors
- To clone the space, toggle on the three dots at the top right of the interface and click "Duplicate this space."
- In the pop-up, input secret values for PIPLOC, OPEN_AI_KEY, SECRET_PROMPT. These values will not be visible after this step.
How to Use the App - Students
- Click the "Initialize Tutor" button at the top of the screen.
- Type something into the User Input box, and click the "Ask/answer model" button. The chatbot will respond to your message.
- Repeat step 2 to continue the back-and-forth interaction with the chatbot tutor.
- To view the conversation history, you may click the "View your chat history" button.
- 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.
How to Modify the App
- To modify the app, navigate to the "Files" page.
- Open the file named "app.py," and click the green "contribute" button above the code.
- Make desired modifications.
- Under "Propose changes", type a message to submit with your pull request.
- Add extended description, if desired.
- Click the "Open a Pull Request" button.