# PaiEasEndpoint

> **Class** in `langchain_community`

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

Langchain LLM class to help to access eass llm service.

    To use this endpoint, must have a deployed eas chat llm service on PAI AliCloud.
One can set the environment variable ``eas_service_url`` and ``eas_service_token``.
The environment variables can set with your eas service url and service token.

## Signature

```python
PaiEasEndpoint()
```

## Description

**Example:**

.. code-block:: python

from langchain_community.llms.pai_eas_endpoint import PaiEasEndpoint
eas_chat_endpoint = PaiEasChatEndpoint(
    eas_service_url="your_service_url",
    eas_service_token="your_service_token"
)

## Extends

- `LLM`

## Properties

- `eas_service_url`
- `eas_service_token`
- `max_new_tokens`
- `temperature`
- `top_p`
- `top_k`
- `stop_sequences`
- `streaming`
- `model_kwargs`
- `version`

## Methods

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

---

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