-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy pathconfig.json
More file actions
61 lines (61 loc) · 2.89 KB
/
config.json
File metadata and controls
61 lines (61 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"flowId": "89a0f4dc-3a9d-46c2-acdf-167ed4194583",
"trigger": {
"type": "API Request",
"schema": {
"jobDescription": "string",
"resume": "string",
"userAnswer": "string"
}
},
"nodes": [
{
"nodeName": "Behaviour_Prep",
"type": "InstructorLLMNode",
"model": "groq/llama-3.1-8b-instant",
"provider": "groq",
"schema": {
"type": "object",
"properties": {
"score": { "type": "number", "required": true },
"strengths": { "type": "array", "items": { "type": "string" } },
"improvements": { "type": "array", "items": { "type": "string" } },
"better_answer": { "type": "string", "required": true }
}
},
"prompts": {
"system": "You are a senior hiring manager evaluating a job candidate's interview answer. Give honest, specific, and constructive feedback. Always respond in valid JSON.",
"user": "Evaluate this interview answer and provide structured feedback.\nQuestion: {{trigger.jobDescription}}\nCandidate Answer: {{trigger.userAnswer}}\nReturn a JSON object with this exact structure:\n{\n \"score\": 7,\n \"strengths\": [\"point1\", \"point2\"],\n \"improvements\": [\"point1\", \"point2\"],\n \"better_answer\": \"A more complete answer would be...\"\n}"
}
},
{
"nodeName": "Technical_Prep",
"type": "InstructorLLMNode",
"model": "groq/llama-3.1-8b-instant",
"provider": "groq",
"schema": {
"type": "object",
"properties": {
"score": { "type": "number", "required": true },
"strengths": { "type": "array", "items": { "type": "string" } },
"improvements": { "type": "array", "items": { "type": "string" } },
"better_answer": { "type": "string", "required": true }
}
},
"prompts": {
"system": "You are a senior hiring manager evaluating a job candidate's interview answer. Give honest, specific, and constructive feedback. Always respond in valid JSON.",
"user": "Evaluate this interview answer and provide structured feedback.\nQuestion: {{trigger.jobDescription}}\nCandidate Answer: {{trigger.userAnswer}}\nReturn a JSON object with this exact structure:\n{\n \"score\": 7,\n \"strengths\": [\"point1\", \"point2\"],\n \"improvements\": [\"point1\", \"point2\"],\n \"better_answer\": \"A more complete answer would be...\"\n}"
}
}
],
"response": {
"behavioral_score": "{{Behaviour_Prep.score}}",
"behavioral_strengths": "{{Behaviour_Prep.strengths}}",
"behavioral_improvements": "{{Behaviour_Prep.improvements}}",
"behavioral_better_answer": "{{Behaviour_Prep.better_answer}}",
"technical_score": "{{Technical_Prep.score}}",
"technical_strengths": "{{Technical_Prep.strengths}}",
"technical_improvements": "{{Technical_Prep.improvements}}",
"technical_better_answer": "{{Technical_Prep.better_answer}}"
}
}