# BaseCohere

> **Class** in `langchain_community`

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

Base class for Cohere models.

## Signature

```python
BaseCohere()
```

## Extends

- `Serializable`

## Properties

- `client`
- `async_client`
- `model`
- `temperature`
- `cohere_api_key`
- `stop`
- `streaming`
- `user_agent`

## Methods

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

## ⚠️ Deprecated

Deprecated since version 0.0.30. Use langchain_cohere.BaseCohere instead. Will be removed in version 1.0.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/7c10a5fa327f6aaaf7c932822a9e5d144891406e/libs/community/langchain_community/llms/cohere.py#L73)