kerplunk-ai-prompts 0.1.26 → 0.1.27

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: 1ba83f1cdedbee256ac579565c9313e0a81375f5bfdee3171067b203b87cd2ca
4
- data.tar.gz: 58102ace1df9df70b06aa974cce79f649d4a1a98e7f1a661ff7cfbe7d402a786
3
+ metadata.gz: 3f5b878131924d2b98dd2bf669fbbca878c838f922d8a90b0847a74b4b62f01b
4
+ data.tar.gz: 0aba78351592dffd549396c0a08dfb9dd5262d748c4a6e43a2bc974787dcf658
5
5
  SHA512:
6
- metadata.gz: 8c26e8f50de5edd5bec173f0fa937baccc6c696478267718eceee410802dba85d4db555edd799156f1e1898ed056d9e86c8100c0362d43d851f702107393902e
7
- data.tar.gz: 06efedcb08ec1bc87d74e25ebec1be1b0b4ad814d2260431cd57f3770ce104718cfb044519c5c89e8d5d1c137530aabd1b3f4638b582c264a919b9e67be5a8ed
6
+ metadata.gz: 5c884bb3898e09c8100be4d8fa6a106183bf8129697b0ddcb64813f446ea350f8741d39751e6c28fb203be183fb151d0e1a0c7f110ec90a0c6cdec12f6f85962
7
+ data.tar.gz: f7c7a91793ee823c9def4c43bd8181e62fdc263bab970d861efa5d03624c85cf4494e0f447c8a7ca4998574adcf9aea0fe10a425d73df0e12be97dca17171231
@@ -38,14 +38,16 @@ module Kerplunk
38
38
  ],
39
39
  "score": 4.5#{(question_type.downcase == "yes/no") ? ',
40
40
  "answer": "Yes" or "No"' : ""}
41
- "user_input": "#{user_input}"
42
41
  }
43
42
 
44
43
  Please remember that the question category is #{question_type} and the question is:
45
44
  #{question}
46
45
 
46
+ #{if question_type.downcase == "yes/no" && user_input
47
+ "The user selected: #{user_input}\n\n"
48
+ end}
49
+
47
50
  This is the transcript of the Interview Answers:
48
- #{user_input}
49
51
  #{transcript}
50
52
  PROMPT
51
53
  end
@@ -56,9 +58,9 @@ module Kerplunk
56
58
  def generate_scoring_instructions(question_type, suggested_answers)
57
59
  if question_type.downcase == "yes/no"
58
60
  if suggested_answers
59
- "Please provide a score from 1 to 100 based on the correctness of the answer. Also, provide three high-level bullet pointed comments about how the candidate did on the question as the `commentary` key. Additionally, include the candidate's answer (Yes or No) in the `answer` key."
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."
60
62
  else
61
- "Please do not provide a score. Provide three high-level bullet pointed comments about the candidate's response as the `commentary` key. Include the candidate's answer (Yes or No) in the `answer` key."
63
+ "Please do not provide a score. Provide three high-level bullet pointed comments about the candidate's response as the `commentary` key, considering the user's selected answer.Additionally, please evaluate whether the candidate's answer matches the user's selected answer and provide a score for that as well."
62
64
  end
63
65
  else
64
66
  "Please provide a score from 1 to 100. Please provide three high-level bullet pointed comments about how the candidate did on the question as the `commentary` key."
@@ -3,7 +3,7 @@
3
3
  module Kerplunk
4
4
  module AI
5
5
  module Prompts
6
- VERSION = "0.1.26"
6
+ VERSION = "0.1.27"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kerplunk-ai-prompts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.26
4
+ version: 0.1.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Schutt