# MoonshotCommon

> **Class** in `langchain_community`

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

Common parameters for Moonshot LLMs.

## Signature

```python
MoonshotCommon()
```

## Extends

- `BaseModel`

## Properties

- `client`
- `base_url`
- `moonshot_api_key`
- `model_name`
- `max_tokens`
- `temperature`
- `model_config`
- `lc_secrets`

## Methods

- [`build_extra()`](https://reference.langchain.com/python/langchain-community/llms/moonshot/MoonshotCommon/build_extra)
- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/llms/moonshot/MoonshotCommon/validate_environment)

---

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