sharpbyte.dev
← Learning hub
AI ecosystem · Prompt engineering

Prompt engineering, in practice

Eight topics from the same beginner-friendly deck as our LLM track—how prompts steer models, classic reasoning templates (CoT, voting, tree search), structured ARQs, verbalized sampling for diversity, and JSON-first prompting for reliable automation.

Topic 1

What is prompt engineering?

Instructions—not weights—steer the model; good prompts elicit steps, constraints, and depth.

Read topic →
Topic 2

Three prompting techniques for reasoning

Code, math, logic, and multi-step tasks all benefit from the same reasoning patterns.

Read topic →
Topic 3

Chain of thought (CoT)

Step-by-step reasoning before the final answer—the most widely used nudge.

Read topic →
Topic 4

Self-consistency (majority voting over CoT)

Many chains, one vote: pick the most common final answer.

Read topic →
Topic 5

Tree of Thoughts (ToT)

Branch intermediate steps and search for the best path—not just the best final guess.

Read topic →
Topic 6

Attentive Reasoning Queries (ARQ)

Structured queries (often JSON) replace improvisation; Parlant is one implementation story.

Read topic →
Topic 7

Verbalized sampling

Recover pre-training diversity with a training-free prompt that asks for a distribution, not one answer.

Read topic →
Topic 8

JSON prompting for LLMs

JSON, XML, Markdown—what matters is structure; the PDF compares formats and closes with a summary.

Read topic →
How to read this track: start at topic 1 if prompts are new; each card assumes you have skimmed what an LLM is and how sampling works.