Spaces:
Runtime error
Runtime error
Errolmking
commited on
Commit
·
5a07ec5
1
Parent(s):
ab6fbc5
Update app.py
Browse files- added portrait of a student
- updated assessment
app.py
CHANGED
@@ -79,7 +79,7 @@ class QueueCallback(BaseCallbackHandler):
|
|
79 |
def on_llm_end(self, *args, **kwargs: Any) -> None:
|
80 |
return self.q.empty()
|
81 |
|
82 |
-
MODEL = "gpt-3.5-turbo"
|
83 |
|
84 |
# Defined a QueueCallback, which takes as a Queue object during initialization. Each new token is pushed to the queue.
|
85 |
class QueueCallback(BaseCallbackHandler):
|
@@ -159,16 +159,77 @@ agent_prompt = """
|
|
159 |
$$$
|
160 |
{input}
|
161 |
$$$
|
162 |
-
|
163 |
-
|
164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
Make a list of 7 ideas, concepts, generalizations and principles we want students to know and understand about the unit or topic we are teaching?
|
166 |
-
Make a list of critical skills describing what we want students to be able to do. Each item should begin with "Students will be able to..."
|
167 |
-
Make a list of 7
|
168 |
-
Make a list of 7 ways that I might adapt the experience for different learning styles.
|
169 |
-
Make a list of
|
170 |
-
Make a list of 5 ways that this learning experience can support and making connections to well-being and socio-emotional development.
|
171 |
-
Make a list of 5 creative activity ideas that support and scaffold the learning experience.
|
172 |
"""
|
173 |
|
174 |
unit_generator = UnitGenerator(prompt_template=agent_prompt)
|
|
|
79 |
def on_llm_end(self, *args, **kwargs: Any) -> None:
|
80 |
return self.q.empty()
|
81 |
|
82 |
+
MODEL = "gpt-3.5-turbo-16k"
|
83 |
|
84 |
# Defined a QueueCallback, which takes as a Queue object during initialization. Each new token is pushed to the queue.
|
85 |
class QueueCallback(BaseCallbackHandler):
|
|
|
159 |
$$$
|
160 |
{input}
|
161 |
$$$
|
162 |
+
|
163 |
+
The following is a "portrait of a graduate" (delimited by three hashtags).
|
164 |
+
###
|
165 |
+
CHARACTER & INTEGRITY
|
166 |
+
➢ Honest:
|
167 |
+
■ Truthful and transparent in all interactions, both in word and action.
|
168 |
+
➢ Responsible:
|
169 |
+
■ Accounts for one's actions and decisions and takes responsibility for the
|
170 |
+
consequences that arise from them.
|
171 |
+
|
172 |
+
➢ Respectful:
|
173 |
+
■ Treats others with dignity and compassion while valuing their opinions
|
174 |
+
and perspectives.
|
175 |
+
|
176 |
+
➢ Fair:
|
177 |
+
■ Acts with impartiality and treats all individuals equitably and justly.
|
178 |
+
■ Applies the tenets of sportsmanship and fair play to all endeavors
|
179 |
+
|
180 |
+
❖ KNOWLEDGE & INQUIRY
|
181 |
+
➢ Curious:
|
182 |
+
■ Possesses a natural curiosity and a desire to learn.
|
183 |
+
■ Asks questions, seeks answers, and explores new ideas.
|
184 |
+
➢ Broad-minded:
|
185 |
+
■ Considers different points of view and revises their own beliefs and
|
186 |
+
opinions as they encounter new information and unexpected challenges.
|
187 |
+
■ Understands that meaningful learning includes wellness of mind and body
|
188 |
+
➢ Determined:
|
189 |
+
■ Purposeful, persistent, and willing to work through complex and difficult
|
190 |
+
challenges to achieve their goals.
|
191 |
+
|
192 |
+
➢ Innovative and Creative:
|
193 |
+
■ Thinks differently and cultivates innovative perspectives, outside of those
|
194 |
+
traditionally accepted
|
195 |
+
❖ CITIZENSHIP & CIVILITY
|
196 |
+
➢ Participates:
|
197 |
+
■ Actively listens to others, genuinely hearing their perspectives.
|
198 |
+
■ Communicates perspectives with tact and respect for others' opinions
|
199 |
+
➢ Ethical:
|
200 |
+
■ Considers the interests and the well-being of the community, nation, and
|
201 |
+
the world.
|
202 |
+
➢ Steward:
|
203 |
+
■ Committed to social justice, equity, and sustainability.
|
204 |
+
■ Takes action to effect constructive, and respectful change.
|
205 |
+
|
206 |
+
❖ SKILLS & EXPERTISE
|
207 |
+
➢ Analytical:
|
208 |
+
■ Distills information, evaluates arguments, and makes informed decisions.
|
209 |
+
■ Identifies assumptions, biases, and fallacies in arguments.
|
210 |
+
➢ Collaborative:
|
211 |
+
■ Encourages the sharing of ideas and opinions.
|
212 |
+
■ Actively contributes to finding common ground and solutions.
|
213 |
+
➢ Communicative:
|
214 |
+
■ Effectively expresses their ideas clearly and succinctly, listens actively to
|
215 |
+
others, and asks clarifying questions.
|
216 |
+
|
217 |
+
➢ Disciplined:
|
218 |
+
■ Exhibits restraint in the face of distraction
|
219 |
+
■ Effectively prioritizes needs and responsibilities over desires
|
220 |
+
■ Mindful of time and other resource constraints, exhibiting balance in the
|
221 |
+
fulfillment of responsibilities
|
222 |
+
###
|
223 |
+
|
224 |
+
Do the following:
|
225 |
+
|
226 |
+
Make a list of 7 big and enduring ideas that students should walk away with.
|
227 |
+
Make a list of 7 essential questions we want students to think about.These questions should be open-ended and provocative. Written in "kid friendly" language. Designed to focus instruction for uncovering the important ideas of the content.
|
228 |
Make a list of 7 ideas, concepts, generalizations and principles we want students to know and understand about the unit or topic we are teaching?
|
229 |
+
Make a list of 7 critical skills describing what we want students to be able to do. Each item should begin with "Students will be able to..."
|
230 |
+
Make a list of 7 example assessments we can use to give students opportunities to demonstrate their skills. Explain the assessment idea and which key concepts and skills they map to.
|
231 |
+
Make a list of 7 creative ways that I might adapt the experience for different learning styles. Explain the way I might adapt the experience to the learning style.
|
232 |
+
Make a list of 7 opportunity that this unit can support the learners development towards the "portrait" of a graduate. Each opportunity should identify the trait and how it might be applied.
|
|
|
|
|
233 |
"""
|
234 |
|
235 |
unit_generator = UnitGenerator(prompt_template=agent_prompt)
|