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

docs: Add example using TypedDict in structured outputs how-to guide #27415

Merged
merged 9 commits into from
Nov 13, 2024
Prev Previous commit
Next Next commit
Update structured_output.ipynb
  • Loading branch information
barseghyanartur authored Oct 17, 2024
commit 72962c8358638492ddbe6cddcdf721892a5b24a2
2 changes: 1 addition & 1 deletion docs/docs/how_to/structured_output.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@
"source": [
"query = \"Anna is 23 years old and she is 6 feet tall\"\n",
"\n",
"print(prompt.invoke(query).to_string())"
"print(prompt.invoke({"query":query}).to_string())"
]
},
{
Expand Down
Loading