Spaces:
Sleeping
Sleeping
downgraded pydantic further
Browse files- requirements.txt +1 -1
- testfile.ipynb +8 -2
requirements.txt
CHANGED
|
@@ -5,4 +5,4 @@ streamlit==1.18.1
|
|
| 5 |
openai==0.27.6
|
| 6 |
huggingface_hub==0.23.0
|
| 7 |
altair==4.2.2
|
| 8 |
-
pydantic==1.10.
|
|
|
|
| 5 |
openai==0.27.6
|
| 6 |
huggingface_hub==0.23.0
|
| 7 |
altair==4.2.2
|
| 8 |
+
pydantic==1.10.9
|
testfile.ipynb
CHANGED
|
@@ -59,12 +59,18 @@
|
|
| 59 |
"execution_count": null,
|
| 60 |
"metadata": {},
|
| 61 |
"outputs": [],
|
| 62 |
-
"source": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
}
|
| 64 |
],
|
| 65 |
"metadata": {
|
| 66 |
"kernelspec": {
|
| 67 |
-
"display_name": "
|
| 68 |
"language": "python",
|
| 69 |
"name": "python3"
|
| 70 |
},
|
|
|
|
| 59 |
"execution_count": null,
|
| 60 |
"metadata": {},
|
| 61 |
"outputs": [],
|
| 62 |
+
"source": [
|
| 63 |
+
"# 3\n",
|
| 64 |
+
"\n",
|
| 65 |
+
"# Instead of downgrading pydantic, consider upgrading langchain or llama-index. For example, the error in the title doesn't occur with pydantic==2.8.2 and llama_index.core==0.10.67. Similar errors involving langchain also doesn't occur for newer versions of langchain, e.g. langchain>=0.3.0 and langchain-core>=0.3.0.1\n",
|
| 66 |
+
"\n",
|
| 67 |
+
"# So pip install langchain langchain-core -U should really solve the issue."
|
| 68 |
+
]
|
| 69 |
}
|
| 70 |
],
|
| 71 |
"metadata": {
|
| 72 |
"kernelspec": {
|
| 73 |
+
"display_name": "env",
|
| 74 |
"language": "python",
|
| 75 |
"name": "python3"
|
| 76 |
},
|