top of page


Few-shot prompting Vs. Zero-shot prompting. Which approach and when?
Providing examples in your prompt is a technique known as few-shot prompting . Examples can be a great way to quickly communicate what your desired response should look like - it can often be easier to show with a few examples rather than trying to describe it with words. 'Shots' is a term taken from the field of machine learning. Each shot is an example given to the model before it performs the task. We often refer to 'few-shot' and 'zero-shot' prompting (where you don't
Apr 204 min read
Â
Â
Â


Role prompting - Giving AI a Persona
"You're an expert X." "Act as a Y" Role prompting is one of the most widely repeated tips in AI circles. The underlying idea is that if you assign the model a job title or area of expertise, it will respond more like a person who holds that role, making it more relevant, more precise, more expert-sounding. The research on whether that actually holds up is more nuanced than the advice suggests. And the nuance is important if you want to try this out yourself. What is role prom
Apr 35 min read
Â
Â
Â


AI's Blindspot: The 'Lost in the Middle' Effect
There's a weird phenomenon with the way AI reads documents and conversations, and it negatively impacts the accuracy of the responses we get back. AI's accuracy when recalling information located in the middle of the context window is lower than if the same information were located at the start or the end . It's known as the 'Lost in the Middle' effect , and it's a problem that researchers have studied in some depth. The consequences of this are pretty simple to understand an
Mar 224 min read
Â
Â
Â
bottom of page
