courses
courses copied to clipboard
Anthropic's educational courses
I I have used the following Prompts to generate response from the Haiku Model but it's not generating the relevant answers each time. Please Suggest the modifications in prompt Prompt...
Putting the API_KEY in plain text in the `00_Tutorial...` notebook feels like an easy way for folks to accidentally check an API key into source control. I updated it to...
The above typo exists in this file: https://github.com/anthropics/courses/blob/master/prompt_evaluations/08_prompt_foo_model_graded/lesson.ipynb
Before: All of the actual model-generated content we care about comes from the ContentBlockDeltaEvents, which each contain a type set to "content_block_delta." After: All of the actual model-generated content we...
I see the following cell in this [notebook](https://github.com/anthropics/courses/blob/master/prompt_engineering_interactive_tutorial/Anthropic%201P/01_Basic_Prompt_Structure.ipynb) which mentions that user and assistant messages MUST alternate. But when I fix the `response[0].text` to `response.content[0].text `, I get a response...
I created a function called simple_prompt(review, rating) and better_prompt(review, rating), but when I run this function from my prompts.py script I am landing with an error. Can anyone help me...
As the developer of Claude for Sheets™, it was emphasized to always use the ™ when referring to Google Sheets in conjunction with CfSh.
Great courses! Love reading them while on the road. One thing that is a bit annoying is that I cannot scroll horizontally within the code sections.
typo edit in /courses/prompt_evaluations/08_prompt_foo_model_graded/lesson.ipynb ## Mdel-graded evals with promptfoo -> ## Model-graded evals with promptfoo