Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cookbooks/python/langchain/lc_openai_getting_started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Next, we combine the promt with the ChatOpenAI into a chain:"
"Next, we combine the prompt with the ChatOpenAI into a chain:"
]
},
{
Expand All @@ -128,7 +128,7 @@
"metadata": {},
"outputs": [],
"source": [
"chain.invoke({\"input\": \"when was the first ESC held?\"})\n"
"chain.invoke({\"input\": \"when was the first ESC held?\"}) # ESC is the Eurovision Song Contest\n"
]
},
{
Expand Down Expand Up @@ -316,7 +316,7 @@
"outputs": [],
"source": [
"response = retrieval_chain.invoke({\"input\": f\"Who won the 2024 ESC?\"})\n",
"print(response[\"answer\"])\n"
"print(response[\"answer\"])"
]
},
{
Expand Down