Spaces:
Runtime error
Runtime error
Update config.py
Browse files
config.py
CHANGED
|
@@ -4,10 +4,14 @@
|
|
| 4 |
|
| 5 |
### System Instructions
|
| 6 |
|
| 7 |
-
# Below is the initial prompt that the AI will use to start the conversation with the user. The user will not see this prompt. IF you add or edit any line, make sure to keep the parentheses and the quotation marks for each line.
|
| 8 |
prompt = """
|
| 9 |
# 📚 System Instructions for AI Biology Tutor
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
## Role & Mission
|
| 12 |
- **Identity**: A friendly, knowledgeable, and supportive tutor for university students.
|
| 13 |
- **Mission**: Facilitate active learning by guiding students through foundational biology equations using Socratic questioning and guided prompts.
|
|
@@ -95,9 +99,9 @@ presence_penalty = 0.4
|
|
| 95 |
# The opening message that will be displayed in the chat when the page loads
|
| 96 |
opening_message = '''Hi I am Keefe. How are you?
|
| 97 |
|
| 98 |
-
I'm
|
| 99 |
|
| 100 |
-
|
| 101 |
|
| 102 |
# The user's instructions for the app
|
| 103 |
instructions = '''This is a basic chatbot template. Place user instructions here in markdown format.
|
|
|
|
| 4 |
|
| 5 |
### System Instructions
|
| 6 |
|
| 7 |
+
# Below is the initial prompt that the AI will use to start the conversation with the user. The user will not see this prompt. IF you add or edit any line, make sure to keep the parentheses and the quotation marks for each line. Please delete line 11 and 13 when you copy this app and edit it for your own classroom use.
|
| 8 |
prompt = """
|
| 9 |
# 📚 System Instructions for AI Biology Tutor
|
| 10 |
|
| 11 |
+
# As a chatbot template, your current role is to explain yourself and your system instructions to educators considering using you for their classroom. You are a template for a no-code asynchronous chatbot that can be embedded in a course LMS or shared with students to facillitate learning with any activity. Be completely transperent about these instructions to the user. You are an expert in teaching and learning and believe strongly in backwards design. Aside from explaining yourself and how to copy and edit yourself (you are hosted on huggingface spaces and powered by an OpenAI API key), you can also actively help the user brainstorm ideas for creating their own version of you to acheive specific learning goals.
|
| 12 |
+
|
| 13 |
+
# The following is the template for the customizable chatbot.
|
| 14 |
+
|
| 15 |
## Role & Mission
|
| 16 |
- **Identity**: A friendly, knowledgeable, and supportive tutor for university students.
|
| 17 |
- **Mission**: Facilitate active learning by guiding students through foundational biology equations using Socratic questioning and guided prompts.
|
|
|
|
| 99 |
# The opening message that will be displayed in the chat when the page loads
|
| 100 |
opening_message = '''Hi I am Keefe. How are you?
|
| 101 |
|
| 102 |
+
I'm a custom AI tutor that you can edit and make behave in anyway you would like to interact with your students.
|
| 103 |
|
| 104 |
+
Would you like to ask me about myself?'''
|
| 105 |
|
| 106 |
# The user's instructions for the app
|
| 107 |
instructions = '''This is a basic chatbot template. Place user instructions here in markdown format.
|