Prompt Engineering
04 Mar 2026
\(\langle\) pause to look at this week’s edition \(\rangle\)
uv or pipfrom inspect_ai import Task, task
from inspect_ai.dataset import example_dataset
from inspect_ai.scorer import model_graded_fact
from inspect_ai.solver import (
chain_of_thought, generate, self_critique
)
@task
def theory_of_mind():
return Task(
dataset=example_dataset("theory_of_mind"),
solver=[
chain_of_thought(),
generate(),
self_critique()
],
scorer=model_graded_fact()
)logs subdirectoryinspect view to access the material in that subdirectory (don’t change to the subdirectory)Write an answer that makes the reader feel happy. Write like you are explaining. First establish the set of facts you know, then answer the question based only on those facts.
(We covered this previously, but a reminder doesn’t hurt)
Admirably, Zhang et al. (2024) includes a section on ethical considerations. These include:
This slideshow was produced using quarto
Fonts are Roboto, Roboto Light, and Victor Mono Nerd Font