FilipinosRich
commited on
Commit
·
41ea0ac
1
Parent(s):
555b71a
refined so that it only shows matches
Browse files- prompts/matches.py +4 -8
prompts/matches.py
CHANGED
@@ -112,19 +112,15 @@ def get_skills_match(llm, vacancy, resume) -> SequentialChain:
|
|
112 |
|
113 |
```
|
114 |
RESUME:
|
115 |
-
|
116 |
{resume}
|
117 |
```
|
118 |
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
- the final json object should not have duplicates
|
123 |
- words with similar meaning should be counted as one and the same, for example 'magazijn' and 'magazijnier' should just be magazijn
|
124 |
- words that hold no significant meaning should not be listed, such as 'ervaring' on its own
|
125 |
- take into account the meaning of the matches and whether or not it is relevant
|
126 |
-
- only take into account matches that are related to job specific content, experience and/or location
|
127 |
-
- only take the key words that are important to the specific job, limit it to the 10 most relevant matches at most
|
128 |
|
129 |
Each match is constructed as the following JSON object:
|
130 |
|
@@ -153,4 +149,4 @@ def get_skills_match(llm, vacancy, resume) -> SequentialChain:
|
|
153 |
],
|
154 |
verbose=False,
|
155 |
)
|
156 |
-
return chain({"vacancy": vacancy, "resume": resume})
|
|
|
112 |
|
113 |
```
|
114 |
RESUME:
|
|
|
115 |
{resume}
|
116 |
```
|
117 |
|
118 |
+
Both the vacancy and resume are delimited by three backticks.
|
119 |
+
Can you list any matches you find in both the vacancy and the resume.
|
120 |
+
Take into the account the following rules about the matches:
|
|
|
121 |
- words with similar meaning should be counted as one and the same, for example 'magazijn' and 'magazijnier' should just be magazijn
|
122 |
- words that hold no significant meaning should not be listed, such as 'ervaring' on its own
|
123 |
- take into account the meaning of the matches and whether or not it is relevant
|
|
|
|
|
124 |
|
125 |
Each match is constructed as the following JSON object:
|
126 |
|
|
|
149 |
],
|
150 |
verbose=False,
|
151 |
)
|
152 |
+
return chain({"vacancy": vacancy, "resume": resume})
|