courses
courses copied to clipboard
Anthropic's educational courses
Every script run has two script output sections causing a lot of confusion to the reader. Removed the duplicate script output keeping other contents the same.
Problem 1 ==> Problem 2
In [79] in anthropic_api_fundamentals/05_Streaming.ipynb error. Await must be inside async function.
Current code has await outside an async method. Python 3.13 doesn't allow that. Maybe a previous version did? ```py from anthropic import AsyncAnthropic client = AsyncAnthropic() async def streaming_with_helpers(): async...
Currently in the course notebooks you have hardcoded in a model name that is deprecated resulting in a 404 tool_use\03_structured_outputs.ipynb response = client.messages.create( model="claude-3-sonnet-20240629",
Fixed a little grammar that was reading weirdly.
I am using MCP with Claude, and every time I send a request, the MCP needs to call the schema definition(sql table) to generate the necessary context. Is there any...
This is funny cha nge
clone the repo and started to run[ first tutorials](https://github.com/anthropics/courses/blob/master/prompt_engineering_interactive_tutorial/Anthropic%201P/00_Tutorial_How-To.ipynb) in vscode after setting the anthropic API KEY on place but it keep faling ; tried to get help from github...
As AsyncMessageStream is not supported in the latest Anthropic Python SDK, we have refactored the code accordingly.