New and updated in 0.1.0
-
{@inheritDoc}
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php:100 -
Gets the generated candidates.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php:111 -
{@inheritDoc}
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php:120 -
Gets the provider metadata.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php:131 -
Gets the model metadata.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php:142 -
{@inheritDoc}
Used by 1 function | Uses 1 function | Source: wp-includes/php-ai-client/src/Results/DTO/Candidate.php:79 -
methodCandidate::toArray()
{@inheritDoc}
Used by 1 function | Uses 0 functions | Source: wp-includes/php-ai-client/src/Results/DTO/Candidate.php:90 -
methodCandidate::fromArray()
{@inheritDoc}
Used by 1 function | Uses 2 functions | Source: wp-includes/php-ai-client/src/Results/DTO/Candidate.php:99 -
methodCandidate::__construct()
Constructor.
Used by 1 function | Uses 0 functions | Source: wp-includes/php-ai-client/src/Results/DTO/Candidate.php:44 -
methodCandidate::getMessage()
Gets the generated message.
Used by 3 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Results/DTO/Candidate.php:59 -
Gets the finish reason.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Results/DTO/Candidate.php:70 -
Sets the HTTP transporter for a specific provider, hooking up its class instances.
Used by 2 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:357 -
Sets the request authentication for a specific provider, hooking up its class instances.
Used by 2 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:384 -
Creates a default request authentication instance for a provider.
Used by 1 function | Uses 1 function | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:418 -
Converts a provider ID and field name to a constant case environment variable name.
Used by 1 function | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:513 -
classCandidate
Represents a candidate response from an AI model.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Results/DTO/Candidate.php:24 -
{@inheritDoc}
Used by 1 function | Uses 1 function | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:311 -
Sets the request authentication instance for the given provider.
Used by 0 functions | Uses 2 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:327 -
Gets the request authentication instance for the given provider, if set.
Used by 1 function | Uses 1 function | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:341 -
Finds models within a specific available provider that support the given requirements.
Used by 1 function | Uses 2 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:227 -
Gets a configured model instance from a provider.
Used by 0 functions | Uses 2 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:255 -
Binds dependencies to a model instance.
Used by 1 function | Uses 2 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:273 -
classProviderRegistry
Registry for managing AI providers and their models.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:31 -
Registers a provider class with the registry.
Used by 0 functions | Uses 5 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:58 -
Gets a list of all registered provider IDs.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:116 -
Checks if a provider is registered.
Used by 0 functions | Uses 2 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:128 -
Gets the class name for a registered provider.
Used by 0 functions | Uses 2 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:141 -
Checks if a provider is properly configured.
Used by 1 function | Uses 1 function | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:184 -
Finds models across all available providers that support the given requirements.
Used by 0 functions | Uses 2 functions | Source: wp-includes/php-ai-client/src/Providers/ProviderRegistry.php:204 -
Determines the class enumerations by reflecting on class constants.
Used by 0 functions | Uses 1 function | Source: wp-includes/php-ai-client/src/Providers/Models/Enums/OptionEnum.php:86