kerplunk-ai-prompts 0.1.10 → 0.1.12

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: 37d5c2f9b01f10439875481c2dd69caf76928256a13ad73a962d7b2a3bbfa834
4
- data.tar.gz: 0c7658ae88473659d9ff3fe92dd393d0e53f0cf933a7a8b10fd2eaf60005d8fb
3
+ metadata.gz: d820aa3b9ea82e22a746fdb36f472b1a3debc22f5b9a40ea3f29de0d15c46a7c
4
+ data.tar.gz: 159ac8a90e320e15aa787474c69095f68f3e44f85d462e858d98467a04ad7d7b
5
5
  SHA512:
6
- metadata.gz: 27e0e38e6db58f33c66f16c2a56fccb1d4745396995e75ef8baf7da35fad314fbd7eea4cd8580e486858808b8d24809ac96052eff4b0af8ddb37b980b20533dc
7
- data.tar.gz: 754f3943f92ccb06b23ae78224c28ef1d5a4380cf1d9d030057ea4a5d0e71f8f22939c03d4ebd495d27cf7a7bcbdcf24d16802e88082abc5dc2c9445ccbde123
6
+ metadata.gz: 251abb1ee5af2bbec3a7e630f7cbe5913a8cd742e49b1b6a636d334250a926dea4c886eaae0820c1480ebeae362ccbd7ee444eec03459230a97e0ea890aa86aa
7
+ data.tar.gz: 0f30eacf1db610df1ff2b1a22ba69646edbc8ebe07be3faf72e204ab25d262773eb37e8c679bf8cb2b4b5aa1b9c73f1c51394d06493d70ebccc704e78a28585a
@@ -8,7 +8,7 @@ module Kerplunk
8
8
  #
9
9
  # @param description [String] the job description to base the interview questions on
10
10
  # @return [String] the generated prompt for interview questions
11
- def self.generate_prompt(description, generate_coding_questions: false)
11
+ def self.generate_prompt(description, generate_coding_questions = false)
12
12
  raise ArgumentError, "description is required" if description.nil? || description.empty?
13
13
 
14
14
  generate_coding_question_callout = ""
@@ -16,7 +16,7 @@ module Kerplunk
16
16
 
17
17
  if generate_coding_questions
18
18
  generate_coding_question_callout = "- provide a scenario to assess the candidate's technical skills which may include code snippets, please ensure any code snippets are the raw source code and not markdown formatted. Please follow the example format below for coding questions."
19
- generate_coding_question_example = ', { "question": "question6", "code_blocks": [{ "content": "<source code>", "language": "<language>" }] }'
19
+ generate_coding_question_example = ', { "content": "question6", "code_blocks": [{ "content": "<source code>", "language": "<language>" }] }'
20
20
  end
21
21
 
22
22
  <<~PROMPT
@@ -3,7 +3,7 @@
3
3
  module Kerplunk
4
4
  module AI
5
5
  module Prompts
6
- VERSION = "0.1.10"
6
+ VERSION = "0.1.12"
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.10
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Schutt