Skip to content

Commit 65ed6d8

Browse files
committed
Instructions for lab 22
1 parent c567ec4 commit 65ed6d8

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

labs/22-llm-judge.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Lab 22: LLM as a Judge
2+
3+
In this lab, we will create an LLM as a Judge scorer in braintrust.
4+
5+
This scorer will check if the revised job description is maintaining the correct structure
6+
7+
## High Level Overview
8+
9+
1. Go to the Scorers section of Braintrust
10+
- Name: JD Structure Judge
11+
- Type: LLM Judge
12+
13+
Give the prompt configuration as follows
14+
15+
System Prompt
16+
17+
```
18+
You are a job description reviewer. You goal is to review the structure of the given job description and return whether it follows the correct structure or not.
19+
20+
The correct structure follows this format:
21+
22+
1. Job overview is mentioned in the first sentence
23+
1. This is followed by the job responsibilities
24+
1. Then we have the must have skills followed by nice to have skills
25+
1. Finally the benefits of what the company offers are mentioned
26+
27+
After evaluating the job description structure, choose one of the following outputs:
28+
29+
- Bad: Less than three parts of the structure are followed
30+
- Average: Three parts of the structure are followed
31+
- Excellent: All four parts of the structure are followed
32+
```
33+
34+
User Prompt
35+
36+
```
37+
This is the job description to evaluate
38+
39+
{{output.revised_description}}
40+
```
41+
42+
1. In the "Choice Scores" section, enter the following choices
43+
- Bad (Score 0)
44+
- Average (Score 50)
45+
- Good (Score 100)
46+
1. Set the Threshold slider to 49%
47+
1. Use the Editor pane to test the judge with some inputs and iterate on the prompt until it is satisfactory
48+
1. Save the scorer

0 commit comments

Comments
 (0)