langchain_core.example_selectors.base
.BaseExampleSelector¶
- class langchain_core.example_selectors.base.BaseExampleSelector[source]¶
Interface for selecting examples to include in prompts.
Methods
__init__
()add_example
(example)Add new example to store.
select_examples
(input_variables)Select which examples to use based on the inputs.
- __init__()¶