onepointconsulting / hr_job_cv_matcher Goto Github PK
View Code? Open in Web Editor NEWHR Bot that ranks CVs using matching between with job descriptions and the CVs
HR Bot that ranks CVs using matching between with job descriptions and the CVs
hr_job_cv_matcher-main\hr_job_cv_matcher-main\hr_job_cv_matcher/ui/matcher_chainlit.py", line 3, in
from hr_job_cv_matcher.list_utils import convert_list_to_m
Hi,
Love this project! Wanted to give it a go (install worked fine) but when uploading a document I get the error below.
Could you help me with this?
Thanks!
S
Chatbot
14:38:28
May the work-force be with you.
14:38:28
Please upload job description files!
14:38:34
Processing testcv.pdf Please wait ...
Error
14:38:34
1 validation error for Document
page_content
none is not an allowed value (type=type_error.none.not_allowed)
2024-01-18 16:06:42 - Template count: 2
2024-01-18 16:06:42 - 'str' object has no attribute 'to_dict'
Traceback (most recent call last):
File "/Users/nitish/Library/Caches/pypoetry/virtualenvs/hr-job-cv-matcher-JiiZFaw_-py3.11/lib/python3.11/site-packages/chainlit/utils.py", line 40, in wrapper
return await user_function(**params_values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nitish/Downloads/developments/hr_job_cv_matcher/./hr_job_cv_matcher/ui/matcher_chainlit.py", line 64, in init
await start_process_applications_and_cvs(application_docs, cv_docs)
File "/Users/nitish/Downloads/developments/hr_job_cv_matcher/./hr_job_cv_matcher/ui/matcher_chainlit.py", line 451, in start_process_applications_and_cvs
await process_with_settings(settings)
File "/Users/nitish/Downloads/developments/hr_job_cv_matcher/./hr_job_cv_matcher/ui/matcher_chainlit.py", line 89, in process_with_settings
] = await process_applications_and_cvs(application_docs, cvs_docs, score_weights)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nitish/Downloads/developments/hr_job_cv_matcher/./hr_job_cv_matcher/ui/matcher_chainlit.py", line 140, in process_applications_and_cvs
] = await process_job_description_and_candidates(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nitish/Downloads/developments/hr_job_cv_matcher/./hr_job_cv_matcher/ui/matcher_chainlit.py", line 192, in process_job_description_and_candidates
, skill_results = await process_skills_llm_chain(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nitish/Downloads/developments/hr_job_cv_matcher/./hr_job_cv_matcher/ui/matcher_chainlit.py", line 305, in process_skills_llm_chain
return await process_generic_extraction(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nitish/Downloads/developments/hr_job_cv_matcher/./hr_job_cv_matcher/ui/matcher_chainlit.py", line 288, in process_generic_extraction
await results_msg.stream_token(
File "/Users/nitish/Library/Caches/pypoetry/virtualenvs/hr-job-cv-matcher-JiiZFaw-py3.11/lib/python3.11/site-packages/chainlit/message.py", line 109, in stream_token
msg_dict = self.to_dict()
^^^^^^^^^^^^^^
File "/Users/nitish/Library/Caches/pypoetry/virtualenvs/hr-job-cv-matcher-JiiZFaw_-py3.11/lib/python3.11/site-packages/chainlit/message.py", line 202, in to_dict
_dict["prompt"] = self.prompt.to_dict()
^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'to_dict'
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.