Giter Club home page Giter Club logo

hr_job_cv_matcher's People

Contributors

onepointconsulting avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hr_job_cv_matcher's Issues

what is the reason

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

page_content none is not an allowed value (type=type_error.none.not_allowed)

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)

There seems to be some issue with chainlit/message.py

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.