kerplunk-ai-prompts 0.1.12 → 0.1.13

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: d820aa3b9ea82e22a746fdb36f472b1a3debc22f5b9a40ea3f29de0d15c46a7c
4
- data.tar.gz: 159ac8a90e320e15aa787474c69095f68f3e44f85d462e858d98467a04ad7d7b
3
+ metadata.gz: 6ac99ceca7efaeb2a6406d5a5b5e402ca04099a1f090ea82a5d5086c0172d6a2
4
+ data.tar.gz: 7a9274cacff188034cdb123bc8dad29a486069f4d84c8359077890229cc809ee
5
5
  SHA512:
6
- metadata.gz: 251abb1ee5af2bbec3a7e630f7cbe5913a8cd742e49b1b6a636d334250a926dea4c886eaae0820c1480ebeae362ccbd7ee444eec03459230a97e0ea890aa86aa
7
- data.tar.gz: 0f30eacf1db610df1ff2b1a22ba69646edbc8ebe07be3faf72e204ab25d262773eb37e8c679bf8cb2b4b5aa1b9c73f1c51394d06493d70ebccc704e78a28585a
6
+ metadata.gz: 1d197a97e5468bd9acbc8c9956c1ae9f9b04723380d07fb27d0b054b8de56ab6c04c09bbc359e6856ec10aa248fc75f2b2dc7dc9a919fd6707b4ff0d682b0c89
7
+ data.tar.gz: 18acd7f20ff949b2c098f770cc7406c0431f5104d142ce79333d4e9376ffad210fa4845352676cab74ac00432605d724b0f25cca70a8107f064dcf3790f8556c
@@ -3,7 +3,7 @@ module Kerplunk
3
3
  module Models
4
4
  # Represents an interview question with its associated details.
5
5
  class InterviewQuestion
6
- attr_accessor :index, :content, :suggested_answers, :transcript, :category, :previous_score
6
+ attr_accessor :index, :content, :suggested_answers, :transcript, :category, :previous_score, :code_blocks
7
7
 
8
8
  # Initializes a new InterviewQuestion object.
9
9
  #
@@ -13,13 +13,14 @@ module Kerplunk
13
13
  # @param transcript [String, nil] the transcript of the interview related to the question
14
14
  # @param category [String] the category of the question
15
15
  # @param previous_score [Float] the previous score of the question
16
- def initialize(index:, content:, suggested_answers:, category:, previous_score:, transcript: nil)
16
+ def initialize(index:, content:, suggested_answers:, category:, previous_score:, transcript: nil, code_blocks: nil)
17
17
  @index = index
18
18
  @content = content
19
19
  @suggested_answers = suggested_answers
20
20
  @transcript = transcript.nil? ? "<NOTRANSCRIPT />" : transcript
21
21
  @category = category
22
22
  @previous_score = previous_score
23
+ @code_blocks = code_blocks
23
24
  end
24
25
 
25
26
  # Generates a formatted prompt for the interview question.
@@ -29,6 +30,7 @@ module Kerplunk
29
30
  <<~QUESTION_PROMPT
30
31
  ==== Question No. #{index + 1}
31
32
  Question Text: #{content}
33
+ Question Code Blocks (if any): #{code_blocks}
32
34
  Suggested Answer: #{suggested_answers}
33
35
  Transcript: #{transcript}
34
36
  Category: #{category}
@@ -3,7 +3,7 @@
3
3
  module Kerplunk
4
4
  module AI
5
5
  module Prompts
6
- VERSION = "0.1.12"
6
+ VERSION = "0.1.13"
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.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Schutt