[Dynamic few shot example selection | 🦜️🛠️ LangSmith](https://docs.smith.langchain.com/evaluation/how_to_guides/index_datasets_for_dynamic_few_shot_example_selection): LLM should read this page when looking for dynamic few-shot example selection, searching datasets based on input similarity, or implementing retrieval-based prompting. This page explains how to configure LangSmith datasets for dynamic few-shot example selection, including prerequisites (paid team plan, KV store data type), indexing datasets for search, testing search quality in the playground, and implementing this feature in applications using code snippets in Python and TypeScript.

