langchain_community.llms.azureml_endpoint
.AzureMLEndpointClient¶
- class langchain_community.llms.azureml_endpoint.AzureMLEndpointClient(endpoint_url: str, endpoint_api_key: str, deployment_name: str = '')[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) –
- __init__(endpoint_url: str, endpoint_api_key: str, deployment_name: str = '') None [source]¶
Initialize the class.
- Parameters
endpoint_url (str) –
endpoint_api_key (str) –
deployment_name (str) –
- Return type
None
- call(body: bytes, run_manager: Optional[CallbackManagerForLLMRun] = None, **kwargs: Any) bytes [source]¶
call.
- Parameters
body (bytes) –
run_manager (Optional[CallbackManagerForLLMRun]) –
kwargs (Any) –
- Return type
bytes