kerplunk-ai-prompts 0.1.27 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a25196b6bdfb5fff3c92ad79f7b05545a2fe6e220e57254d558048c3fc3e0bc5
|
4
|
+
data.tar.gz: b24050080972654086be4c86899db34310c4f0f999088cbab7d70780bb320390
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f01784d2031af00aef3203b0ada253fee12f1e6ef5aced79063d24cbd8c0b6f9b16c1303835b65e44aa0122d458a6e21efdbcc1b2b1bdde43230700ed070e154
|
7
|
+
data.tar.gz: 74c86bc659755735a734e519042055df4fa84f28e367498af767a6546bd316934ecc59a7f6a357becac194c4a3374db604905dcbadc6608ab9830d43f507150e
|
@@ -36,14 +36,14 @@ module Kerplunk
|
|
36
36
|
"Comment 2",
|
37
37
|
"Comment 3"
|
38
38
|
],
|
39
|
-
"score": 4.5#{(question_type.downcase == "
|
39
|
+
"score": 4.5#{(question_type.downcase == "yes_no") ? ',
|
40
40
|
"answer": "Yes" or "No"' : ""}
|
41
41
|
}
|
42
42
|
|
43
43
|
Please remember that the question category is #{question_type} and the question is:
|
44
44
|
#{question}
|
45
45
|
|
46
|
-
#{if question_type.downcase == "
|
46
|
+
#{if question_type.downcase == "yes_no" && user_input
|
47
47
|
"The user selected: #{user_input}\n\n"
|
48
48
|
end}
|
49
49
|
|
@@ -56,7 +56,7 @@ module Kerplunk
|
|
56
56
|
private
|
57
57
|
|
58
58
|
def generate_scoring_instructions(question_type, suggested_answers)
|
59
|
-
if question_type.downcase == "
|
59
|
+
if question_type.downcase == "yes_no"
|
60
60
|
if suggested_answers
|
61
61
|
"Please provide a score from 1 to 100 based on the correctness of the answer, taking into account the user's selected answer. Also, provide three high-level bullet pointed comments about how the candidate did on the question as the `commentary` key. Additionally, please evaluate whether the candidate's answer matches the user's selected answer and provide a score for that as well."
|
62
62
|
else
|