> ## Documentation Index
> Fetch the complete documentation index at: https://snowglobe.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Formatters

## BaseFormatter

```python theme={null}
class BaseFormatter(ABC)
```

A Formatter takes an LLM Callable and wraps the method into an abstract callable.

Used to perform manipulations of the input or the output, like JSON constrained- decoding.

## JsonFormatter

```python theme={null}
class JsonFormatter(BaseFormatter)
```

A formatter that uses Jsonformer to ensure the shape of structured data for Hugging Face models.
