{ "cells": [ { "cell_type": "markdown", "id": "9f853e403eabd4f8", "metadata": { "collapsed": false, "id": "9f853e403eabd4f8", "jupyter": { "outputs_hidden": false } }, "source": [ "
\n",
" \n",
"
\n",
" Docs\n",
" |\n",
" GitHub\n",
" |\n",
" Community\n",
"
Using Pydantic with LangChain
\n", "\n",
" This notebook uses Pydantic v2 BaseModel, which requires langchain-core >= 0.3. Using langchain-core < 0.3 will result in errors due to mixing of Pydantic v1 and v2 BaseModels.\n",
"