A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python.langchain.com/docs/concepts/example_selectors/ below:

Website Navigation


Example selectors | 🦜️🔗 LangChain

Example selectors Overview

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

This gives the language 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4