ai_api_client_sdk.models.capabilities module

class ai_api_client_sdk.models.capabilities.Capabilities(ai_api: AIAPIMeta, runtime_identifier: str = None, runtime_api_version: str = None, description: str = None, extensions: Extensions = None, **kwargs)

Bases: object

The Capabilities object represents the metadata and capabilities of, and extensions to the AI API

Parameters:
  • ai_api (class:ai_api_client_sdk.models.ai_api_meta.AIAPIMeta) – Metadata and capabilities of the AI API

  • runtime_identifier (str, optional) – The name of runtime, defaults to None

  • runtime_api_version (str, optional) – The version of the runtime, defaults to None

  • description (str, optional) – description, defaults to None

  • extensions (class:ai_api_client_sdk.models.extensions.Extensions, optional) – Extensions to the AI API, defaults to None

  • **kwargs – The keyword arguments are there in case there are additional attributes returned from server

__init__(ai_api: AIAPIMeta, runtime_identifier: str = None, runtime_api_version: str = None, description: str = None, extensions: Extensions = None, **kwargs)
static from_dict(capabilities_dict: Dict[str, Any])

Returns a ai_api_client_sdk.models.capabilities.Capabilities object, created from the values in the dict provided as parameter

Parameters:

capabilities_dict (Dict[str, Any]) – Dict which includes the necessary values to create the object

Returns:

An object, created from the values provided

Return type:

class:ai_api_client_sdk.models.capabilities.Capabilities