Description
File "/Users/xuhao/anaconda3/envs/python3.9/lib/python3.9/site-packages/langchain_core/output_parsers/base.py", line 249, in aparse_result
return await run_in_executor(None, self.parse_result, result, partial=partial)
File "/Users/xuhao/anaconda3/envs/python3.9/lib/python3.9/site-packages/langchain_core/runnables/config.py", line 514, in run_in_executor
return await asyncio.get_running_loop().run_in_executor(
File "/Users/xuhao/anaconda3/envs/python3.9/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/xuhao/anaconda3/envs/python3.9/lib/python3.9/site-packages/langchain_core/output_parsers/openai_tools.py", line 152, in parse_result
raise e
File "/Users/xuhao/anaconda3/envs/python3.9/lib/python3.9/site-packages/langchain_core/output_parsers/openai_tools.py", line 147, in parse_result
pydantic_objects.append(name_dictres["type"])
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for ExtractorDefinition
json_schema
str type expected (type=type_error.str)