kerplunk-ai-prompts 0.1.31 → 0.1.33
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: e44781ea30772be52c182d8d40880f7fde9f9b7c948ce0dcbe3a960f58b4181d
|
4
|
+
data.tar.gz: 930de18dcf8bf3841702222de285ab6c45548e0f8b24b44200366c47dac26990
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 988e8a35d9e1553fee26feba9d2b612f388c94207bcfdfd6014c579225aecc09464f6c7311e806f0bfb5cf6666837715f1b34bd7a3a9c7df0c70fbd6d8b8bb63
|
7
|
+
data.tar.gz: a95e8a275229e60d8a43ae06f80c8e5682cc394f28debb6fd77ed3c1956df6e707bc8578ff32544a51bd99472aae11e4fbd024e69d384ffac6524cad1cb89c35
|
@@ -7,6 +7,7 @@ require_relative "templates/analysis/interview"
|
|
7
7
|
require_relative "templates/analysis/interview_question"
|
8
8
|
require_relative "templates/analysis/resume"
|
9
9
|
require_relative "templates/analysis/copilot_interview"
|
10
|
+
require_relative "templates/generation/resume_questions"
|
10
11
|
|
11
12
|
module Kerplunk
|
12
13
|
module AI
|
@@ -42,6 +43,8 @@ module Kerplunk
|
|
42
43
|
Templates::Analysis::Resume.generate_prompt(*args)
|
43
44
|
when :copilot_interview_analysis
|
44
45
|
Templates::Analysis::CopilotInterview.generate_prompt(*args)
|
46
|
+
when :resume_specific_questions
|
47
|
+
Templates::Generation::ResumeQuestions.generate_prompt(*args)
|
45
48
|
else
|
46
49
|
raise "Unknown prompt key: #{prompt_key}"
|
47
50
|
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
module Kerplunk
|
2
|
+
module AI
|
3
|
+
module Prompts
|
4
|
+
module Templates
|
5
|
+
module Generation
|
6
|
+
class ResumeQuestions
|
7
|
+
# Generates a prompt for creating resume questions based on the provided job description & resume text.
|
8
|
+
#
|
9
|
+
# @param description [String] the job description to base the resume questions on
|
10
|
+
# @param resume_text [String] the resume text to base the resume questions on
|
11
|
+
# @param num_of_questions [Integer] the resume text to base the resume questions on
|
12
|
+
# @return [String] the generated prompt for resume questions
|
13
|
+
def self.generate_prompt(description, resume_text, num_of_questions)
|
14
|
+
raise ArgumentError, 'description is required' if description.nil? || description.empty?
|
15
|
+
raise ArgumentError, 'resume_text is required' if resume_text.nil? || resume_text.empty?
|
16
|
+
raise ArgumentError, 'num_of_questions is required' if num_of_questions.nil?
|
17
|
+
|
18
|
+
<<~PROMPT
|
19
|
+
Respond with a RAW JSON object only. Do not include any explanatory text outside the JSON.
|
20
|
+
|
21
|
+
You're an expert recruiter conducting a candidate interview to effectively evaluate them across multiple dimensions: personal skills, technical skills, role-specific competencies, soft skills, and any unique "x-factor" qualities. You are now reviewing the candidate's resume alongside the job description. Your goal is to identify specific, empathetic, and effective questions to ask during the interview. These questions should help clarify alignment with the role and uncover meaningful context behind the candidate's experience, including any notable transitions, gaps in employment, career shifts, or other resume details that may warrant a deeper understanding. All questions should remain non-biased, professional, and phrased with emotional intelligence, suitable for reuse in future prompts analyzing interview responses.
|
22
|
+
|
23
|
+
Please output the questions in a JSON array. Please make sure that there are exactly #{num_of_questions} questions that you'd ask the candidate.
|
24
|
+
|
25
|
+
Please ensure all questions:
|
26
|
+
- are unique. Please ensure there are no duplicate questions.
|
27
|
+
- are not too long.
|
28
|
+
- are grammatically correct.
|
29
|
+
- are not too similar to each other.
|
30
|
+
- are not offensive.
|
31
|
+
- do not contain any profanity.
|
32
|
+
- are not superficial.
|
33
|
+
- have some variety.
|
34
|
+
- maintain a consistent tone.
|
35
|
+
- flow well together.
|
36
|
+
- are not too similar to the job description.
|
37
|
+
|
38
|
+
If for any reason you are unable to generate the questions, please try again. Please check your output, and rerun the prompt if you are not satisfied with the results.
|
39
|
+
|
40
|
+
An example output should be JSON and look like the below. Please be sure the output is a valid JSON format even if you cannot generate the interview questions. The JSON should not include any markdown or newline characters such as "```json" that would normally be used for rendering in markdown.
|
41
|
+
{
|
42
|
+
"resume_specific_questions": ["question1", "question2", "question3"]
|
43
|
+
}
|
44
|
+
|
45
|
+
### Job Description
|
46
|
+
#{description}
|
47
|
+
|
48
|
+
### Resume Text
|
49
|
+
#{resume_text}
|
50
|
+
PROMPT
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kerplunk-ai-prompts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Schutt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A collection of AI prompt templates for use in Kerplunk
|
14
14
|
email:
|
@@ -38,6 +38,7 @@ files:
|
|
38
38
|
- lib/kerplunk/ai/prompts/templates/generation/invite_to_apply_email.rb
|
39
39
|
- lib/kerplunk/ai/prompts/templates/generation/invite_to_apply_follow_up_email.rb
|
40
40
|
- lib/kerplunk/ai/prompts/templates/generation/job_description.rb
|
41
|
+
- lib/kerplunk/ai/prompts/templates/generation/resume_questions.rb
|
41
42
|
- lib/kerplunk/ai/prompts/version.rb
|
42
43
|
- sig/kerplunk/ai/prompts.rbs
|
43
44
|
homepage: https://kerplunk.com
|