Romeo and Juliet, children of rival families, fall in love, marry, and die
tragically, ending their parents' bitter feud.
Prompt Engineering
04 Feb 2026
Romeo and Juliet, children of rival families, fall in love, marry, and die
tragically, ending their parents' bitter feud.
Now client is an object (you can name it anything) and chat is a component of that object.
Hamlet, urged by his father's ghost, seeks revenge on his murderous uncle. His
fatal hesitation leads to a tragic end for all.
… and it remembers the question from the previous call.
First, say pip install chatlas in a terminal.
Two teens from warring families fall in love, secretly marry, and tragically die due to feuding and miscommunication.
Notice that the same exact answer may not be provided. This is a completely different conversation from the one in R.
Yes, as a Posit employee, you can expense a hotel for business purposes
(Section 4.1, Accommodation).
The policy states that "Employees should book standard hotel rooms at a
reasonable rate." If a nightly rate for accommodation exceeds $250, a
justification is required (Section 4.1, Accommodation).
Anthropic isn’t too good about itemizing costs, so I’m going to guess that the above, after running many times, cost about 0.25 USD. If you want to know the cost per conversation, you have to keep looking at Anthropic’s up to the minute meter.
~/.Renviron fileposit-expense-policy.md to get started) to put in the system prompt. instead of $ and ChatAnthropic instead of chat_anthropic (or whatever—I’ll show the possible models)For iteration, I think we can just brainstorm a lot of prompts and use a foreach to run them through chatlas in different conversations. Remember that each time we initialized the variable client, we were starting a new conversation where we could reuse that variable. We could instead give the conversations different names and run them in parallel, skipping back and forth as we get new ideas.
As for annotation, the effectiveness of system prompts makes it seem less pressing. Last semester, I asked students to annotate data for their projects. This semester, I’m not going to ask the same.
example_tweets_test without success, so I switched to example_tweets_test_tinypotato/project-hub/politeness_rating/annotation_output/full/<your account name>/Ctrl-C and use that window to navigate to the folderannotation_order.txt is a list of the instances you annotated in orderassigned_user_data.json is a list of the instances you annotated, with the annotations you madeannotated_instances.jsonl is a list of the instances you annotated, with the annotations you made, in JSON Lines formatvi to change the word scale_1 to scalevi command :%s/scale_[1-5]/scale/extractIDandScale.py script to extract the ID and scale from the JSON Lines filevi to get rid of lines that start with Politenessvi command :g/^Politeness/dcalcAvg.py script to calculate the average rating 5 | 000000
4 | 00000000000
3 | 00000000000000000
2 | 00000000000
1 | 00000
See if you can make a stem-and-leaf plot for your data with an LLM
This slideshow was produced using quarto
Fonts are Roboto Light, Roboto Bold, and JetBrains Mono Nerd Font