# BaseFriendli

> **Class** in `langchain_community`

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

Base class of Friendli.

## Signature

```python
BaseFriendli()
```

## Extends

- `Serializable`

## Properties

- `client`
- `async_client`
- `model`
- `friendli_token`
- `friendli_team`
- `streaming`
- `frequency_penalty`
- `presence_penalty`
- `max_tokens`
- `stop`
- `temperature`
- `top_p`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/llms/friendli/BaseFriendli/validate_environment)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/llms/friendli.py#L34)