# Outlines

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/llms/outlines/Outlines)

LLM wrapper for the Outlines library.

## Signature

```python
Outlines()
```

## Extends

- `LLM`

## Properties

- `client`
- `model`
- `backend`
- `max_tokens`
- `stop`
- `streaming`
- `regex`
- `type_constraints`
- `json_schema`
- `grammar`
- `custom_generator`
- `model_kwargs`
- `tokenizer`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/llms/outlines/Outlines/validate_environment)
- [`build_client()`](https://reference.langchain.com/python/langchain-community/llms/outlines/Outlines/build_client)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/llms/outlines.py#L16)