Methods
-
Constructor is private to ensure instances are created through static methods.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Common/AbstractEnum.php:64 -
methodAbstractEnum::__get()
Provides read-only access to properties.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Common/AbstractEnum.php:78 -
methodAbstractEnum::__set()
Prevents property modification.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Common/AbstractEnum.php:94 -
Returns string representation of the enum.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Common/AbstractEnum.php:333 -
{@inheritDoc}
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/AbstractProvider.php:65 -
Creates a model instance based on the given model metadata and provider metadata.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/AbstractProvider.php:95 -
Creates the model metadata directory instance.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/AbstractProvider.php:119 -
Creates the provider availability instance.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/AbstractProvider.php:111 -
Creates the provider metadata instance.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/AbstractProvider.php:103 -
{@inheritDoc}
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/AbstractProvider.php:37 -
{@inheritDoc}
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/AbstractProvider.php:50 -
{@inheritDoc}
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/AbstractProvider.php:78 -
Gets the capability that was used for generation.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Events/AfterGenerateResultEvent.php:82 -
Gets the messages that were sent to the model.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Events/AfterGenerateResultEvent.php:60 -
Gets the model that processed the prompt.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Events/AfterGenerateResultEvent.php:71 -
Gets the result from the model.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Events/AfterGenerateResultEvent.php:93 -
Performs a deep clone of the event.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Events/AfterGenerateResultEvent.php:106 -
Constructor.
Used by 1 function | Uses 0 functions | Source: wp-includes/php-ai-client/src/Events/AfterGenerateResultEvent.php:46 -
Converts text to speech using the traditional API approach.
-
Gets the default provider registry instance.
-
Generates an image using the traditional API approach.
-
Generates content using a unified API that automatically detects model capabilities.
-
Generates speech using the traditional API approach.
-
Generates text using the traditional API approach.
-
Generates a video using the traditional API approach.
-
methodAiClient::getCache()
Gets the PSR-16 cache instance.
-
Configures PromptBuilder based on model/config parameter type.
-
Gets the event dispatcher for prompt lifecycle events.
-
methodAiClient::isConfigured()
Checks if a provider is configured and available for use.
-
methodAiClient::message()
Creates a new message builder for fluent API usage.