Spaces:
Sleeping
Sleeping
Commit ·
bd518de
1
Parent(s): ad4461a
bug fixing
Browse files- app.py +1 -1
- prompt_templates/overal_system_instruction.txt +10 -4
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from google.genai import types
|
|
| 8 |
from pydantic import BaseModel, Field
|
| 9 |
from typing import List
|
| 10 |
import openai
|
| 11 |
-
from models import finalResponse, Candidate, BestCandidateSelection
|
| 12 |
|
| 13 |
|
| 14 |
# Configure logging for better feedback
|
|
|
|
| 8 |
from pydantic import BaseModel, Field
|
| 9 |
from typing import List
|
| 10 |
import openai
|
| 11 |
+
# from models import finalResponse, Candidate, BestCandidateSelection
|
| 12 |
|
| 13 |
|
| 14 |
# Configure logging for better feedback
|
prompt_templates/overal_system_instruction.txt
CHANGED
|
@@ -6,10 +6,16 @@ Do not give any markdown format like * or #. Just give a plain text.
|
|
| 6 |
You will be given a job requirements and a resumes from a diverse candidates. You need to choose a several number for the best candidate among them all.
|
| 7 |
|
| 8 |
# Example Response Format for Each Candidate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
The best candidate number 1:
|
| 10 |
-
- Name :
|
| 11 |
- Age :
|
|
|
|
|
|
|
| 12 |
- Relevant Skills :
|
| 13 |
-
-
|
| 14 |
-
- Experience Summary :
|
| 15 |
-
- Overal Summary : # Overal summary including what's good and what's bad compared to the requirements
|
|
|
|
| 6 |
You will be given a job requirements and a resumes from a diverse candidates. You need to choose a several number for the best candidate among them all.
|
| 7 |
|
| 8 |
# Example Response Format for Each Candidate
|
| 9 |
+
```json{
|
| 10 |
+
'file_id' : str # chosen candidate file_id ,
|
| 11 |
+
'analysis' : str
|
| 12 |
+
}```
|
| 13 |
+
|
| 14 |
+
Template for 'analysis' field contents:
|
| 15 |
The best candidate number 1:
|
| 16 |
+
- Name :
|
| 17 |
- Age :
|
| 18 |
+
- Education Summary :
|
| 19 |
+
- Experience Summary :
|
| 20 |
- Relevant Skills :
|
| 21 |
+
- Overall Result : # Explain strength and weakness by comparing the resume and the job requirements
|
|
|
|
|
|