Add a !pip install instructor
cell to avoid Pydantic V1 issue in colab
#204
sandeshrajbhandari
started this conversation in
General
Replies: 1 comment
-
Hi! Welcome to the community. What your describing is best resolved by a pull request, in my opinion. Here's a quick run down on how to make that happen https://chat.openai.com/share/dd75d8ac-30ad-4e43-afa9-4dc6d595e92e
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
Colab has Pydantic V1 installed, so it gives following no attribute error.
SOLUTION:
either add a
!pip install -U pydantic
cell to use the latest pydantic to avoid this error, or just install instructor to install required dependencies including new pydantic.Beta Was this translation helpful? Give feedback.
All reactions