Additional comments and refinements

This commit is contained in:
Edward Donner
2024-12-22 10:30:50 +00:00
parent 747473ebfe
commit 26f1135ead
7 changed files with 119 additions and 170 deletions

View File

@@ -294,7 +294,31 @@
"id": "9468860b-86a2-41df-af01-b2400cc985be",
"metadata": {},
"source": [
"## Time to use LangChain to bring it all together"
"# Time to use LangChain to bring it all together"
]
},
{
"cell_type": "markdown",
"id": "8ba8a5e7-965d-4770-a12d-532aff50c4b5",
"metadata": {},
"source": [
"<table style=\"margin: 0; text-align: left;\">\n",
" <tr>\n",
" <td style=\"width: 150px; height: 150px; vertical-align: middle;\">\n",
" <img src=\"../important.jpg\" width=\"150\" height=\"150\" style=\"display: block;\" />\n",
" </td>\n",
" <td>\n",
" <h2 style=\"color:#900;\">PLEASE READ ME! Ignoring the Deprecation Warning</h2>\n",
" <span style=\"color:#900;\">When you run the next cell, you will get a LangChainDeprecationWarning \n",
" about the simple way we use LangChain memory. They ask us to migrate to their new approach for memory. \n",
" I feel quite conflicted about this. The new approach involves moving to LangGraph and getting deep into their ecosystem.\n",
" There's a fair amount of learning and coding in LangGraph, frankly without much benefit in our case.<br/><br/>\n",
" I'm going to think about whether/how to incorporate it in the course, but for now please ignore the Depreciation Warning and\n",
" use the code as is; LangChain are not expected to remove ConversationBufferMemory any time soon.\n",
" </span>\n",
" </td>\n",
" </tr>\n",
"</table>"
]
},
{