langchain_community.llms.azureml_endpoint.AzureMLEndpointClient

class langchain_community.llms.azureml_endpoint.AzureMLEndpointClient(endpoint_url: str, endpoint_api_key: str, deployment_name: str = '', timeout: int = 50)[source]

AzureML托管端点客户端。

初始化类。

Methods

__init__(endpoint_url, endpoint_api_key[, ...])

初始化类。

call(body[, run_manager])

调用。

Parameters
  • endpoint_url (str) –

  • endpoint_api_key (str) –

  • deployment_name (str) –

  • timeout (int) –

Return type

None

__init__(endpoint_url: str, endpoint_api_key: str, deployment_name: str = '', timeout: int = 50) None[source]

初始化类。

Parameters
  • endpoint_url (str) –

  • endpoint_api_key (str) –

  • deployment_name (str) –

  • timeout (int) –

Return type

None

call(body: bytes, run_manager: Optional[CallbackManagerForLLMRun] = None, **kwargs: Any) bytes[source]

调用。

Parameters
Return type

bytes