Chapter 6. User prompts for LLMs
This chapter focuses on the design and optimization of user prompts, including techniques like few-shot prompting, prompt chaining, Chain-of-Thought, or ReAct.
Examples
- Few-shot prompting: Python · Jupyter · JavaScript · Java
- Prompt chaining: Python · Jupyter · JavaScript · Java
- Chain-of-Thought vs ReAct (DSPy): Python · Jupyter