Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.18.0
metadata
title: CLAS Basic Interaction Exercise
emoji: 🚀
colorFrom: red
colorTo: yellow
sdk: gradio
sdk_version: 3.46.0
app_file: app.py
pinned: false
CLAS Basic Interaction Exercise
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.).
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
- Type something into the user input box, and click the "Send" button. The chatbot will respond to your message.
- Repeat step 1 to continue interaction with the chatbot instructor.
- Under "Generate the JSON file for your chat history!", click the "Generate" button to export your chat history as a JSON file.
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.