Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lc_openai_getting_started.ipynb with text style cleanup #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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