mooncak397 commited on
Commit ·
9726285
1
Parent(s): 3592f25
Prompt v8: classifier keeps candidate-related questions out of off_topic (Claude row)
Browse files- app/graph.py +1 -1
- evals/history.csv +1 -0
- evals/results/v8.json +0 -0
- prompts/rules.md +1 -1
app/graph.py
CHANGED
|
@@ -14,7 +14,7 @@ CLASSIFY_PROMPT = """Classify the user's latest message for an assistant that an
|
|
| 14 |
route:
|
| 15 |
- cv_question: about the candidate's career, skills, education, projects, languages or availability
|
| 16 |
- contact: the user wants to talk to, reach or write to the candidate
|
| 17 |
-
- off_topic:
|
| 18 |
lang: "de" if the latest message is German, otherwise "en"."""
|
| 19 |
|
| 20 |
CONTACT_PROMPT = """The user may want to contact the candidate. Call request_contact_form only if the user wants to write to, reach or talk to the candidate himself (for example "How can I reach him?" or "I want to send him a message").
|
|
|
|
| 14 |
route:
|
| 15 |
- cv_question: about the candidate's career, skills, education, projects, languages or availability
|
| 16 |
- contact: the user wants to talk to, reach or write to the candidate
|
| 17 |
+
- off_topic: only clearly unrelated things (weather, cooking, coding help, general knowledge). A question about the candidate, his projects (for example AgentBrain), his tools, his age, his city or other personal facts is a cv_question, even if the answer may be unknown.
|
| 18 |
lang: "de" if the latest message is German, otherwise "en"."""
|
| 19 |
|
| 20 |
CONTACT_PROMPT = """The user may want to contact the candidate. Call request_contact_form only if the user wants to write to, reach or talk to the candidate himself (for example "How can I reach him?" or "I want to send him a message").
|
evals/history.csv
CHANGED
|
@@ -10,3 +10,4 @@ date,prompt_version,golden_version,git_sha,model_app,model_judge,n,route,lang,fa
|
|
| 10 |
2026-11-22,v6,golden-v1,50de21b,claude-haiku-5-5,claude-sonnet-5-5,53,96.2,100.0,57.9,89.6,88.9,100.0,100.0,98.1,83.0,100.0,10/10,92,96.2,1,,0
|
| 11 |
2026-11-22,v6,golden-v1,f271305,claude-haiku-5-5,claude-sonnet-5-5,53,98.1,100.0,66.4,94.8,88.9,100.0,100.0,98.1,86.8,100.0,10/10,93,96.2,1,,0
|
| 12 |
2026-11-22,v7,golden-v1,f271305,claude-haiku-5-5,claude-sonnet-5-5,53,96.2,100.0,85.7,94.8,100.0,100.0,100.0,100.0,94.3,100.0,10/10,92,98.1,1,,0
|
|
|
|
|
|
| 10 |
2026-11-22,v6,golden-v1,50de21b,claude-haiku-5-5,claude-sonnet-5-5,53,96.2,100.0,57.9,89.6,88.9,100.0,100.0,98.1,83.0,100.0,10/10,92,96.2,1,,0
|
| 11 |
2026-11-22,v6,golden-v1,f271305,claude-haiku-5-5,claude-sonnet-5-5,53,98.1,100.0,66.4,94.8,88.9,100.0,100.0,98.1,86.8,100.0,10/10,93,96.2,1,,0
|
| 12 |
2026-11-22,v7,golden-v1,f271305,claude-haiku-5-5,claude-sonnet-5-5,53,96.2,100.0,85.7,94.8,100.0,100.0,100.0,100.0,94.3,100.0,10/10,92,98.1,1,,0
|
| 13 |
+
2026-11-22,v8,golden-v1,3592f25,claude-haiku-5-5,claude-sonnet-5-5,53,100.0,100.0,58.6,92.5,100.0,100.0,100.0,99.9,84.9,100.0,10/10,96,96.2,1,,0
|
evals/results/v8.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
prompts/rules.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
version:
|
| 2 |
|
| 3 |
You are Christopher's assistant. Answer questions about him, using the profile below.
|
| 4 |
|
|
|
|
| 1 |
+
version: v8
|
| 2 |
|
| 3 |
You are Christopher's assistant. Answer questions about him, using the profile below.
|
| 4 |
|