ValidationError: 4 validation errors for Graph
relationships.22.source.reason
Field required [type=missing, input_value={'name': 'IQT', 'type': 'ORGANIZATION'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.9/v/missing
relationships.22.target
Field required [type=missing, input_value={'source': {'name': 'IQT'...'type': 'ORGANIZATION'}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.9/v/missing
relationships.22.type
Field required [type=missing, input_value={'source': {'name': 'IQT'...'type': 'ORGANIZATION'}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.9/v/missing
relationships.22.reason
Field required [type=missing, input_value={'source': {'name': 'IQT'...'type': 'ORGANIZATION'}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.9/v/missing
File "langchain_core/output_parsers/pydantic.py", line 26, in _parse_obj
return self.pydantic_object.model_validate(obj)
OutputParserException: Failed to parse Graph from completion {"entities": [{"name": "IQT", "type": "ORGANIZATION", "reason": "IQT is described as a non-profit organization."}, {"name": "In-Q-Tel", "type": "ORGANIZATION", "reason": "In-Q-Tel is another name for IQT."}, {"name": "CIA", "type": "ORGANIZATION", "reason": "CIA is mentioned as a U.S. government agency overseeing IQT."}, {"name": "FBI", "type": "ORGANIZATION", "reason": "FBI is mentioned as a U.S. government agency overseeing IQT."}, {"name": "NSA", "type": "ORGANIZATION", "reason": "NSA is mentioned as a U.S. government agency overseeing IQT."}, {"name": "DHS", "type": "ORGANIZATION", "reason": "DHS is mentioned as a U.S. government agency overseeing IQT."}, {"name": "Steve Bowsher", "type": "PERSON", "reason": "Steve Bowsher is mentioned as the President and CEO of IQT."}, {"name": "Toup Lee", "type": "PERSON", "reason": "Toup Lee is mentioned as the Chief Investment Officer of IQT."}, {"name": "Felicia A. Henderson", "type": "PERSON", "reason": "Felicia A. Henderson...
(3 additional frame(s) were not displayed)
...
File "langchain_core/runnables/config.py", line 398, in call_func_with_variable_args
return func(input, **kwargs) # type: ignore[call-arg]
File "langchain_core/output_parsers/base.py", line 184, in <lambda>
lambda inner_input: self.parse_result(
File "langchain_core/output_parsers/pydantic.py", line 71, in parse_result
raise e
File "langchain_core/output_parsers/pydantic.py", line 67, in parse_result
return self._parse_obj(json_object)
File "langchain_core/output_parsers/pydantic.py", line 35, in _parse_obj
raise self._parser_exception(e, obj) from e
Sentry Issue: EVRIM-DEV-1P