# BaseExampleSelector

> **Class** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/example_selectors/base/BaseExampleSelector)

Interface for selecting examples to include in prompts.

## Signature

```python
BaseExampleSelector()
```

## Extends

- `ABC`

## Methods

- [`add_example()`](https://reference.langchain.com/python/langchain-core/example_selectors/base/BaseExampleSelector/add_example)
- [`aadd_example()`](https://reference.langchain.com/python/langchain-core/example_selectors/base/BaseExampleSelector/aadd_example)
- [`select_examples()`](https://reference.langchain.com/python/langchain-core/example_selectors/base/BaseExampleSelector/select_examples)
- [`aselect_examples()`](https://reference.langchain.com/python/langchain-core/example_selectors/base/BaseExampleSelector/aselect_examples)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/fb6ab993a73180538f6cca876b3c85d46c08845f/libs/core/langchain_core/example_selectors/base.py#L9)