wp-includes/php-ai-client/src/Providers/Models/Enums/CapabilityEnum.php:29Enum for model capabilities.
class CapabilityEnum extends AbstractEnum{ /** * Text generation capability. */ public const TEXT_GENERATION = 'text_generation'; /** * Image generation capability. */ public const IMAGE_GENERATION = 'image_generation'; /** * Text to speech conversion capability. */ public const TEXT_TO_SPEECH_CONVERSION = 'text_to_speech_conversion'; /** * Speech generation capability. */ public const SPEECH_GENERATION = 'speech_generation'; /** * Music generation capability. */ public const MUSIC_GENERATION = 'music_generation'; /** * Video generation capability. */ public const VIDEO_GENERATION = 'video_generation'; /** * Embedding generation capability. */ public const EMBEDDING_GENERATION = 'embedding_generation'; /** * Chat history support capability. */ public const CHAT_HISTORY = 'chat_history';}Introduced in 0.1.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/php-ai-client/src/Providers/Models/Enums/CapabilityEnum.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.