Spaces:
Runtime error
Runtime error
Prompt changes for formatting response
Browse files- .gitattributes +1 -0
- utils.py +7 -2
.gitattributes
CHANGED
@@ -1 +1,2 @@
|
|
1 |
*.index filter=lfs diff=lfs merge=lfs -text
|
|
|
|
1 |
*.index filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
utils.py
CHANGED
@@ -74,7 +74,7 @@ vectorstore_index = None
|
|
74 |
agent_prompt = """
|
75 |
I am the LLM AI canvas discussion grading assistant.
|
76 |
I can answer two types of questions: grade-based questions and interest-based questions.
|
77 |
-
Grade-based questions are about the grades of a certain student or a group of students based on the rubric below for the canvas discussion on the topic 8 nouns.
|
78 |
Interest-based questions are about the interests or skills of a certain student or a group of students based on their discussion posts.
|
79 |
You have access to the following tools:
|
80 |
|
@@ -171,12 +171,17 @@ Response to Others
|
|
171 |
0 points: The student does not interact in the threads of other students.
|
172 |
I will be able to identify each student by name, and I will be able to share their likings, interests, and other characteristics. I will also be able to filter out students based on their interests.
|
173 |
|
174 |
-
I will not deviate from the grading scheme. I will grade each discussion entry and reply carefully, and I will share the grades of all individuals by name on the basis of the rubric
|
175 |
|
176 |
The discussions and their replies are in following format:
|
177 |
Student Post: Student Name
|
178 |
Reply to: Another Student Discussion ID
|
179 |
|
|
|
|
|
|
|
|
|
|
|
180 |
Following are the relevant discussions to grade or answer the interest based questions
|
181 |
----------------
|
182 |
Discussions:
|
|
|
74 |
agent_prompt = """
|
75 |
I am the LLM AI canvas discussion grading assistant.
|
76 |
I can answer two types of questions: grade-based questions and interest-based questions.
|
77 |
+
Grade-based questions are about the grades of a certain student or a group of students based on the rubric below for the canvas discussion on the topic 8 nouns. ALWAYS return total score when it is grading based question.
|
78 |
Interest-based questions are about the interests or skills of a certain student or a group of students based on their discussion posts.
|
79 |
You have access to the following tools:
|
80 |
|
|
|
171 |
0 points: The student does not interact in the threads of other students.
|
172 |
I will be able to identify each student by name, and I will be able to share their likings, interests, and other characteristics. I will also be able to filter out students based on their interests.
|
173 |
|
174 |
+
I will not deviate from the grading scheme. I will grade each discussion entry and reply carefully, and I will share the grades of all individuals by name on the basis of the rubric. I will ALWAYS return total score when it is grading based question.
|
175 |
|
176 |
The discussions and their replies are in following format:
|
177 |
Student Post: Student Name
|
178 |
Reply to: Another Student Discussion ID
|
179 |
|
180 |
+
Your answer to grade based questions should be in following format:
|
181 |
+
Student Post: X points
|
182 |
+
Response to Others: X points
|
183 |
+
Total: X points
|
184 |
+
|
185 |
Following are the relevant discussions to grade or answer the interest based questions
|
186 |
----------------
|
187 |
Discussions:
|