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 Managed Endpoint client.

Initialize the class.

Methods

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

Initialize the class.

call(body[, run_manager])

call.

Parameters
  • endpoint_url (str) –

  • endpoint_api_key (str) –

  • deployment_name (str) –

  • timeout (int) –

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

Initialize the class.

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]¶

call.

Parameters
Return type

bytes