Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
OurBuilding Ambient Agents with LangGraph course is now available on LangChain Academy!
Open on GitHub

Example selectors

Overview

One common prompting technique for achieving better performance is to include examples as part of the prompt. This is known asfew-shot prompting.

This gives thelanguage model concrete examples of how it should behave.Sometimes these examples are hardcoded into the prompt, but for more advanced situations it may be nice to dynamically select them.

Example Selectors are classes responsible for selecting and then formatting examples into prompts.

Related resources


[8]ページ先頭

©2009-2025 Movatter.jp