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

# semantic_router.encoders.local

## LocalEncoder Objects

```python theme={null}
class LocalEncoder(DenseEncoder)
```

Local encoder using sentence-transformers for efficient local embeddings.

## LocalSparseEncoder Objects

```python theme={null}
class LocalSparseEncoder(SparseEncoder)
```

Local sparse encoder using sentence-transformers' SparseEncoder (e.g., SPLADE, CSR) for efficient local sparse embeddings.
