Skip to content

Error #1

@kfra71

Description

@kfra71

I am getting this error:

Calling GPT For CV Info Extraction...
Normalizing GPT Response...
CVs: 0%| | 1/1451 [00:06<2:37:34, 6.52s/it]
Traceback (most recent call last):
File "/ResumeGPT/ResumeGPT/main.py", line 29, in
extract_cv_info_dfs = cvs_info_extractor.extract_cv_info()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ResumeGPT/ResumeGPT/ChatGPT_Pipeline.py", line 167, in extract_cv_info
self.cvs_df['CV_Info_Json'] = self.cvs_df.progress_apply(self._gpt_pipeline, axis=1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ResumeGPT/lib/python3.11/site-packages/tqdm/std.py", line 805, in inner
return getattr(df, df_function)(wrapper, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ResumeGPT/lib/python3.11/site-packages/pandas/core/frame.py", line 10374, in apply
return op.apply().finalize(self, method="apply")
^^^^^^^^^^
File "/ResumeGPT/lib/python3.11/site-packages/pandas/core/apply.py", line 916, in apply
return self.apply_standard()
^^^^^^^^^^^^^^^^^^^^^
File "/ResumeGPT/lib/python3.11/site-packages/pandas/core/apply.py", line 1063, in apply_standard
results, res_index = self.apply_series_generator()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ResumeGPT/lib/python3.11/site-packages/pandas/core/apply.py", line 1081, in apply_series_generator
results[i] = self.func(v, *self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ResumeGPT/lib/python3.11/site-packages/tqdm/std.py", line 800, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/ResumeGPT/ResumeGPT/ChatGPT_Pipeline.py", line 122, in _gpt_pipeline
df = self._normalize_gpt_json_response(CV_Filename, json_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ResumeGPT/ResumeGPT/ChatGPT_Pipeline.py", line 80, in _normalize_gpt_json_response
df_CV_Info_Json_normalized = pd.json_normalize(json_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ResumeGPT/lib/python3.11/site-packages/pandas/io/json/_normalize.py", line 445, in json_normalize
raise NotImplementedError
NotImplementedError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions