mirror of
https://github.com/hwchase17/langchain
synced 2024-11-13 19:10:52 +00:00
docs: Fixed additional 'the' and remove 'turns' to make explanation clearer (#28082)
Fixed additional 'the' and remove the word 'turns' as it would make explanation clearer --------- Co-authored-by: ccurme <chester.curme@gmail.com>
This commit is contained in:
parent
298ebeee4e
commit
02de346f6d
@ -15,7 +15,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# How to add memory to chatbots\n",
|
"# How to add memory to chatbots\n",
|
||||||
"\n",
|
"\n",
|
||||||
"A key feature of chatbots is their ability to use content of previous conversation turns as context. This state management can take several forms, including:\n",
|
"A key feature of chatbots is their ability to use the content of previous conversational turns as context. This state management can take several forms, including:\n",
|
||||||
"\n",
|
"\n",
|
||||||
"- Simply stuffing previous messages into a chat model prompt.\n",
|
"- Simply stuffing previous messages into a chat model prompt.\n",
|
||||||
"- The above, but trimming old messages to reduce the amount of distracting information the model has to deal with.\n",
|
"- The above, but trimming old messages to reduce the amount of distracting information the model has to deal with.\n",
|
||||||
@ -185,7 +185,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
" We'll pass the latest input to the conversation here and let the LangGraph keep track of the conversation history using the checkpointer:"
|
" We'll pass the latest input to the conversation here and let LangGraph keep track of the conversation history using the checkpointer:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user