Title: 0.1.0 | Page 3 of 15 | Developer.WordPress.org

---

# New and updated in 0.1.0

Functions

Hooks

Classes

Methods

 * method[GenerativeAiResult::getId()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/getid/)
 * {@inheritDoc}
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/getid/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/getid/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php:100](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php#L100-L103)
 * method[GenerativeAiResult::getCandidates()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/getcandidates/)
 * Gets the generated candidates.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/getcandidates/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/getcandidates/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php:111](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php#L111-L114)
 * method[GenerativeAiResult::getTokenUsage()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/gettokenusage/)
 * {@inheritDoc}
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/gettokenusage/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/gettokenusage/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php:120](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php#L120-L123)
 * method[GenerativeAiResult::getProviderMetadata()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/getprovidermetadata/)
 * Gets the provider metadata.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/getprovidermetadata/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/getprovidermetadata/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php:131](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php#L131-L134)
 * method[GenerativeAiResult::getModelMetadata()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/getmodelmetadata/)
 * Gets the model metadata.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/getmodelmetadata/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-generativeairesult/getmodelmetadata/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php:142](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php#L142-L145)
 * method[Candidate::getJsonSchema()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/getjsonschema/)
 * {@inheritDoc}
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/getjsonschema/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/getjsonschema/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/DTO/Candidate.php:79](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/DTO/Candidate.php#L79-L82)
 * method[Candidate::toArray()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/toarray/)
 * {@inheritDoc}
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/toarray/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/toarray/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/DTO/Candidate.php:90](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/DTO/Candidate.php#L90-L93)
 * method[Candidate::fromArray()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/fromarray/)
 * {@inheritDoc}
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/fromarray/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/fromarray/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/DTO/Candidate.php:99](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/DTO/Candidate.php#L99-L104)
 * method[Candidate::__construct()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/__construct/)
 * Constructor.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/__construct/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/__construct/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/DTO/Candidate.php:44](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/DTO/Candidate.php#L44-L51)
 * method[Candidate::getMessage()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/getmessage/)
 * Gets the generated message.
 * Used by [3 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/getmessage/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/getmessage/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/DTO/Candidate.php:59](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/DTO/Candidate.php#L59-L62)
 * method[Candidate::getFinishReason()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/getfinishreason/)
 * Gets the finish reason.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/getfinishreason/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/getfinishreason/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/DTO/Candidate.php:70](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/DTO/Candidate.php#L70-L73)
 * method[ProviderRegistry::setHttpTransporterForProvider()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/sethttptransporterforprovider/)
 * Sets the HTTP transporter for a specific provider, hooking up its class instances.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/sethttptransporterforprovider/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/sethttptransporterforprovider/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:357](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L357-L373)
 * method[ProviderRegistry::setRequestAuthenticationForProvider()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/setrequestauthenticationforprovider/)
 * Sets the request authentication for a specific provider, hooking up its class
   instances.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/setrequestauthenticationforprovider/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/setrequestauthenticationforprovider/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:384](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L384-L408)
 * method[ProviderRegistry::createDefaultProviderRequestAuthentication()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/createdefaultproviderrequestauthentication/)
 * Creates a default request authentication instance for a provider.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/createdefaultproviderrequestauthentication/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/createdefaultproviderrequestauthentication/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:418](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L418-L478)
 * method[ProviderRegistry::getEnvVarName()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getenvvarname/)
 * Converts a provider ID and field name to a constant case environment variable
   name.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getenvvarname/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getenvvarname/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:513](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L513-L519)
 * class[Candidate](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/)
 * Represents a candidate response from an AI model.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-dto-candidate/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/DTO/Candidate.php:24](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/DTO/Candidate.php#L24-L117)
 * method[ProviderRegistry::setHttpTransporter()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/sethttptransporter/)
 * {@inheritDoc}
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/sethttptransporter/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/sethttptransporter/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:311](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L311-L318)
 * method[ProviderRegistry::setProviderRequestAuthentication()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/setproviderrequestauthentication/)
 * Sets the request authentication instance for the given provider.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/setproviderrequestauthentication/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/setproviderrequestauthentication/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:327](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L327-L332)
 * method[ProviderRegistry::getProviderRequestAuthentication()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getproviderrequestauthentication/)
 * Gets the request authentication instance for the given provider, if set.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getproviderrequestauthentication/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getproviderrequestauthentication/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:341](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L341-L348)
 * method[ProviderRegistry::findProviderModelsMetadataForSupport()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/findprovidermodelsmetadataforsupport/)
 * Finds models within a specific available provider that support the given requirements.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/findprovidermodelsmetadataforsupport/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/findprovidermodelsmetadataforsupport/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:227](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L227-L243)
 * method[ProviderRegistry::getProviderModel()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getprovidermodel/)
 * Gets a configured model instance from a provider.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getprovidermodel/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getprovidermodel/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:255](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L255-L261)
 * method[ProviderRegistry::bindModelDependencies()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/bindmodeldependencies/)
 * Binds dependencies to a model instance.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/bindmodeldependencies/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/bindmodeldependencies/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:273](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L273-L285)
 * class[ProviderRegistry](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/)
 * Registry for managing AI providers and their models.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:31](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L31-L520)
 * method[ProviderRegistry::registerProvider()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/registerprovider/)
 * Registers a provider class with the registry.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/registerprovider/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/registerprovider/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:58](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L58-L108)
 * method[ProviderRegistry::getRegisteredProviderIds()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getregisteredproviderids/)
 * Gets a list of all registered provider IDs.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getregisteredproviderids/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getregisteredproviderids/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:116](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L116-L119)
 * method[ProviderRegistry::hasProvider()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/hasprovider/)
 * Checks if a provider is registered.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/hasprovider/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/hasprovider/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:128](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L128-L131)
 * method[ProviderRegistry::getProviderClassName()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getproviderclassname/)
 * Gets the class name for a registered provider.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getproviderclassname/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/getproviderclassname/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:141](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L141-L153)
 * method[ProviderRegistry::isProviderConfigured()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/isproviderconfigured/)
 * Checks if a provider is properly configured.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/isproviderconfigured/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/isproviderconfigured/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:184](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L184-L195)
 * method[ProviderRegistry::findModelsMetadataForSupport()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/findmodelsmetadataforsupport/)
 * Finds models across all available providers that support the given requirements.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/findmodelsmetadataforsupport/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-providerregistry/findmodelsmetadataforsupport/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:204](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/ProviderRegistry.php#L204-L217)
 * method[OptionEnum::determineClassEnumerations()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-models-enums-optionenum/determineclassenumerations/)
 * Determines the class enumerations by reflecting on class constants.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-models-enums-optionenum/determineclassenumerations/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-providers-models-enums-optionenum/determineclassenumerations/#uses)
   | Source: [wp-includes/php-ai-client/src/Providers/Models/Enums/OptionEnum.php:86](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Providers/Models/Enums/OptionEnum.php#L86-L106)

 [Previous Page](https://developer.wordpress.org/reference/since/0.1.0/page/2/?output_format=md)

[1](https://developer.wordpress.org/reference/since/0.1.0/?output_format=md) [2](https://developer.wordpress.org/reference/since/0.1.0/page/2/?output_format=md)
3 [4](https://developer.wordpress.org/reference/since/0.1.0/page/4/?output_format=md)
[5](https://developer.wordpress.org/reference/since/0.1.0/page/5/?output_format=md)…
[15](https://developer.wordpress.org/reference/since/0.1.0/page/15/?output_format=md)

 [Next Page](https://developer.wordpress.org/reference/since/0.1.0/page/4/?output_format=md)