Skip to content

Commit 9ec56e7

Browse files
authored
Merge pull request #71 from WordPress/prepare/0.1.0
Prepare 0.1.0 release
2 parents 28cf922 + f74da39 commit 9ec56e7

File tree

102 files changed

+584
-606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+584
-606
lines changed

src/AiClient.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
* ->generateTextResult();
7575
* ```
7676
*
77-
* @since n.e.x.t
77+
* @since 0.1.0
7878
*
7979
* @phpstan-import-type Prompt from PromptBuilder
8080
*
@@ -90,7 +90,7 @@ class AiClient
9090
/**
9191
* Gets the default provider registry instance.
9292
*
93-
* @since n.e.x.t
93+
* @since 0.1.0
9494
*
9595
* @return ProviderRegistry The default provider registry.
9696
*/
@@ -114,7 +114,7 @@ public static function defaultRegistry(): ProviderRegistry
114114
/**
115115
* Checks if a provider is configured and available for use.
116116
*
117-
* @since n.e.x.t
117+
* @since 0.1.0
118118
*
119119
* @param ProviderAvailabilityInterface $availability The provider availability instance to check.
120120
* @return bool True if the provider is configured and available, false otherwise.
@@ -131,7 +131,7 @@ public static function isConfigured(ProviderAvailabilityInterface $availability)
131131
* The traditional API methods in this class delegate to PromptBuilder
132132
* for all generation logic.
133133
*
134-
* @since n.e.x.t
134+
* @since 0.1.0
135135
*
136136
* @param Prompt $prompt Optional initial prompt content.
137137
* @param ProviderRegistry|null $registry Optional custom registry. If null, uses default.
@@ -149,7 +149,7 @@ public static function prompt($prompt = null, ?ProviderRegistry $registry = null
149149
* model discovery based on prompt content and configuration. When a model is provided,
150150
* it infers the capability from the model's interfaces and delegates to the capability-based method.
151151
*
152-
* @since n.e.x.t
152+
* @since 0.1.0
153153
*
154154
* @param Prompt $prompt The prompt content.
155155
* @param ModelInterface|ModelConfig $modelOrConfig Specific model to use, or model configuration
@@ -172,7 +172,7 @@ public static function generateResult(
172172
/**
173173
* Generates text using the traditional API approach.
174174
*
175-
* @since n.e.x.t
175+
* @since 0.1.0
176176
*
177177
* @param Prompt $prompt The prompt content.
178178
* @param ModelInterface|ModelConfig|null $modelOrConfig Optional specific model to use,
@@ -197,7 +197,7 @@ public static function generateTextResult(
197197
/**
198198
* Generates an image using the traditional API approach.
199199
*
200-
* @since n.e.x.t
200+
* @since 0.1.0
201201
*
202202
* @param Prompt $prompt The prompt content.
203203
* @param ModelInterface|ModelConfig|null $modelOrConfig Optional specific model to use,
@@ -221,7 +221,7 @@ public static function generateImageResult(
221221
/**
222222
* Converts text to speech using the traditional API approach.
223223
*
224-
* @since n.e.x.t
224+
* @since 0.1.0
225225
*
226226
* @param Prompt $prompt The prompt content.
227227
* @param ModelInterface|ModelConfig|null $modelOrConfig Optional specific model to use,
@@ -245,7 +245,7 @@ public static function convertTextToSpeechResult(
245245
/**
246246
* Generates speech using the traditional API approach.
247247
*
248-
* @since n.e.x.t
248+
* @since 0.1.0
249249
*
250250
* @param Prompt $prompt The prompt content.
251251
* @param ModelInterface|ModelConfig|null $modelOrConfig Optional specific model to use,
@@ -273,7 +273,7 @@ public static function generateSpeechResult(
273273
* MessageBuilder will provide a fluent interface for constructing complex
274274
* messages with multiple parts, attachments, and metadata.
275275
*
276-
* @since n.e.x.t
276+
* @since 0.1.0
277277
*
278278
* @param string|null $text Optional initial message text.
279279
* @return object MessageBuilder instance (type will be updated when MessageBuilder is available).

0 commit comments

Comments
 (0)