docs/troubleshooting/errors/ #29730
Replies: 1 comment
-
Hi, I try to follow the tutorial "Functions, Tools and Agents with LangChain - Tagging an extraction" on DeepLearning.ai in my own local notebook and get the following error when calling spec = OpenAPISpec.from_text(text) with the swagger petstore example: Attempting to load an OpenAPI 3.0.0 spec. This may result in degraded performance. Convert your OpenAPI spec to 3.1.* spec for better support.AttributeError Traceback (most recent call last) File ~\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_community\utilities\openapi.py:247, in OpenAPISpec.from_text(cls, text) File ~\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_community\utilities\openapi.py:238, in OpenAPISpec.from_spec_dict(cls, spec_dict) File ~\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_community\utilities\openapi.py:222, in OpenAPISpec.parse_obj(cls, obj) AttributeError: 'super' object has no attribute 'parse_obj' In the parallel notebook to the video it works. Does anyone have an idea why I have this problem and how I can I solve ist? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
docs/troubleshooting/errors/
This page contains guides around resolving common errors you may find while building with LangChain.
https://python.langchain.com/docs/troubleshooting/errors/
Beta Was this translation helpful? Give feedback.
All reactions