Skip to content

The agent engineering platform.

Fixed typo: 'ouput' to 'output' in all documentation (#5272)

Moonsik Kanga0281f5acb9c
diff --git a/docs/modules/memory/types/buffer.ipynb b/docs/modules/memory/types/buffer.ipynb
index e310a62760..19a12e1e4b 100644
--- a/docs/modules/memory/types/buffer.ipynb
+++ b/docs/modules/memory/types/buffer.ipynb
@@ -30,7 +30,7 @@
"outputs": [],
"source": [
"memory = ConversationBufferMemory()\n",
- "memory.save_context({\"input\": \"hi\"}, {\"ouput\": \"whats up\"})"
+ "memory.save_context({\"input\": \"hi\"}, {\"output\": \"whats up\"})"
]
},
{
@@ -70,7 +70,7 @@
"outputs": [],
"source": [
"memory = ConversationBufferMemory(return_messages=True)\n",
- "memory.save_context({\"input\": \"hi\"}, {\"ouput\": \"whats up\"})"
+ "memory.save_context({\"input\": \"hi\"}, {\"output\": \"whats up\"})"
]
},
{
diff --git a/docs/modules/memory/types/buffer_window.ipynb b/docs/modules/memory/types/buffer_window.ipynb
index a653665abe..b2d15c0b2e 100644
--- a/docs/modules/memory/types/buffer_window.ipynb
+++ b/docs/modules/memory/types/buffer_window.ipynb
@@ -30,8 +30,8 @@
"outputs": [],
"source": [
"memory = ConversationBufferWindowMemory( k=1)\n",
- "memory.save_context({\"input\": \"hi\"}, {\"ouput\": \"whats up\"})\n",
- "memory.save_context({\"input\": \"not much you\"}, {\"ouput\": \"not much\"})"
+ "memory.save_context({\"input\": \"hi\"}, {\"output\": \"whats up\"})\n",
+ "memory.save_context({\"input\": \"not much you\"}, {\"output\": \"not much\"})"
]
},
{
@@ -71,8 +71,8 @@
"outputs": [],
"source": [
"memory = ConversationBufferWindowMemory( k=1, return_messages=True)\n",
- "memory.save_context({\"input\": \"hi\"}, {\"ouput\": \"whats up\"})\n",
- "memory.save_context({\"input\": \"not much you\"}, {\"ouput\": \"not much\"})"
+ "memory.save_context({\"input\": \"hi\"}, {\"output\": \"whats up\"})\n",
+ "memory.save_context({\"input\": \"not much you\"}, {\"output\": \"not much\"})"
]
},
{
diff --git a/docs/modules/memory/types/entity_summary_memory.ipynb b/docs/modules/memory/types/entity_summary_memory.ipynb
index 6d63d7aeff..b3d024a23f 100644
--- a/docs/modules/memory/types/entity_summary_memory.ipynb
+++ b/docs/modules/memory/types/entity_summary_memory.ipynb
@@ -35,7 +35,7 @@
"memory.load_memory_variables(_input)\n",
"memory.save_context(\n",
" _input,\n",
- " {\"ouput\": \" That sounds like a great project! What kind of project are they working on?\"}\n",
+ " {\"output\": \" That sounds like a great project! What kind of project are they working on?\"}\n",
")"
]
},
@@ -73,7 +73,7 @@
"memory.load_memory_variables(_input)\n",
"memory.save_context(\n",
" _input,\n",
- " {\"ouput\": \" That sounds like a great project! What kind of project are they working on?\"}\n",
+ " {\"output\": \" That sounds like a great project! What kind of project are they working on?\"}\n",
")"
]
},
diff --git a/docs/modules/memory/types/kg.ipynb b/docs/modules/memory/types/kg.ipynb
index c6739d4583..143e14d9b7 100644
--- a/docs/modules/memory/types/kg.ipynb
+++ b/docs/modules/memory/types/kg.ipynb
@@ -32,8 +32,8 @@
"source": [
"llm = OpenAI(temperature=0)\n",
"memory = ConversationKGMemory(llm=llm)\n",
- "memory.save_context({\"input\": \"say hi to sam\"}, {\"ouput\": \"who is sam\"})\n",
- "memory.save_context({\"input\": \"sam is a friend\"}, {\"ouput\": \"okay\"})"
+ "memory.save_context({\"input\": \"say hi to sam\"}, {\"output\": \"who is sam\"})\n",
+ "memory.save_context({\"input\": \"sam is a friend\"}, {\"output\": \"okay\"})"
]
},
{
@@ -73,8 +73,8 @@
"outputs": [],
"source": [
"memory = ConversationKGMemory(llm=llm, return_messages=True)\n",
- "memory.save_context({\"input\": \"say hi to sam\"}, {\"ouput\": \"who is sam\"})\n",
- "memory.save_context({\"input\": \"sam is a friend\"}, {\"ouput\": \"okay\"})"
+ "memory.save_context({\"input\": \"say hi to sam\"}, {\"output\": \"who is sam\"})\n",
+ "memory.save_context({\"input\": \"sam is a friend\"}, {\"output\": \"okay\"})"
]
},
{
diff --git a/docs/modules/memory/types/summary.ipynb b/docs/modules/memory/types/summary.ipynb
index b2dcbb9bf8..77d2a50aad 100644
--- a/docs/modules/memory/types/summary.ipynb
+++ b/docs/modules/memory/types/summary.ipynb
@@ -30,7 +30,7 @@
"outputs": [],
"source": [
"memory = ConversationSummaryMemory(llm=OpenAI(temperature=0))\n",
- "memory.save_context({\"input\": \"hi\"}, {\"ouput\": \"whats up\"})"
+ "memory.save_context({\"input\": \"hi\"}, {\"output\": \"whats up\"})"
]
},
{
@@ -70,7 +70,7 @@
"outputs": [],
"source": [
"memory = ConversationSummaryMemory(llm=OpenAI(temperature=0), return_messages=True)\n",
- "memory.save_context({\"input\": \"hi\"}, {\"ouput\": \"whats up\"})"
+ "memory.save_context({\"input\": \"hi\"}, {\"output\": \"whats up\"})"
]
},
{
diff --git a/docs/modules/memory/types/token_buffer.ipynb b/docs/modules/memory/types/token_buffer.ipynb
index 9cf371f1e0..a5fd6c0d57 100644
--- a/docs/modules/memory/types/token_buffer.ipynb
+++ b/docs/modules/memory/types/token_buffer.ipynb
@@ -32,8 +32,8 @@
"outputs": [],
"source": [
"memory = ConversationTokenBufferMemory(llm=llm, max_token_limit=10)\n",
- "memory.save_context({\"input\": \"hi\"}, {\"ouput\": \"whats up\"})\n",
- "memory.save_context({\"input\": \"not much you\"}, {\"ouput\": \"not much\"})"
+ "memory.save_context({\"input\": \"hi\"}, {\"output\": \"whats up\"})\n",
+ "memory.save_context({\"input\": \"not much you\"}, {\"output\": \"not much\"})"
]
},
{
@@ -73,8 +73,8 @@
"outputs": [],
"source": [
"memory = ConversationTokenBufferMemory(llm=llm, max_token_limit=10, return_messages=True)\n",
- "memory.save_context({\"input\": \"hi\"}, {\"ouput\": \"whats up\"})\n",
- "memory.save_context({\"input\": \"not much you\"}, {\"ouput\": \"not much\"})"
+ "memory.save_context({\"input\": \"hi\"}, {\"output\": \"whats up\"})\n",
+ "memory.save_context({\"input\": \"not much you\"}, {\"output\": \"not much\"})"
]
},
{
diff --git a/docs/use_cases/agents/multi_modal_output_agent.ipynb b/docs/use_cases/agents/multi_modal_output_agent.ipynb
index 35102050a0..6e7da84cee 100644
--- a/docs/use_cases/agents/multi_modal_output_agent.ipynb
+++ b/docs/use_cases/agents/multi_modal_output_agent.ipynb
@@ -125,7 +125,7 @@
"metadata": {},
"outputs": [],
"source": [
- "def show_ouput(output):\n",
+ "def show_output(output):\n",
" \"\"\"Display the multi-modal output from the agent.\"\"\"\n",
" UUID_PATTERN = re.compile(\n",
" r\"([0-9A-Za-z]{8}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{12})\"\n",
@@ -168,7 +168,7 @@
}
],
"source": [
- "show_ouput(output)"
+ "show_output(output)"
]
},
{
@@ -266,7 +266,7 @@
}
],
"source": [
- "show_ouput(output)"
+ "show_output(output)"
]
},
{
diff --git a/docs/use_cases/multi_modal/image_agent.ipynb b/docs/use_cases/multi_modal/image_agent.ipynb
index ca856ede18..5ed4223d86 100644
--- a/docs/use_cases/multi_modal/image_agent.ipynb
+++ b/docs/use_cases/multi_modal/image_agent.ipynb
@@ -125,7 +125,7 @@
"metadata": {},
"outputs": [],
"source": [
- "def show_ouput(output):\n",
+ "def show_output(output):\n",
" \"\"\"Display the multi-modal output from the agent.\"\"\"\n",
" UUID_PATTERN = re.compile(\n",
" r\"([0-9A-Za-z]{8}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{12})\"\n",
@@ -168,7 +168,7 @@
}
],
"source": [
- "show_ouput(output)"
+ "show_output(output)"
]
},
{
@@ -221,7 +221,7 @@
"metadata": {},
"outputs": [],
"source": [
- "show_ouput(output)"
+ "show_output(output)"
]
},
{