Skip to content

Commit 9b71895

Browse files
authored
Fix incorrect class references.
1 parent ad14f14 commit 9b71895

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/ARCHITECTURE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ $text = Ai::generateTextResult(
9191

9292
#### Generate text with an image as additional input using any suitable model from any provider
9393

94-
_Note: Since this omits the model parameter, the SDK will automatically determine which models are suitable and use any of them, similar to [the first code example](#generate-text-using-any-suitable-model-from-any-provider-most-basic-example). Since it knows the input includes an image, it can internally infer that the model needs to not only support `AiFeature::TEXT_GENERATION`, but also `AiCapability::INPUT_MODALITIES => ['text', 'image']`._
94+
_Note: Since this omits the model parameter, the SDK will automatically determine which models are suitable and use any of them, similar to [the first code example](#generate-text-using-any-suitable-model-from-any-provider-most-basic-example). Since it knows the input includes an image, it can internally infer that the model needs to not only support `AiFeature::TEXT_GENERATION`, but also `TextGenerationConfig::INPUT_MODALITIES => ['text', 'image']`._
9595

9696
```php
9797
$text = Ai::generateTextResult(
@@ -109,7 +109,7 @@ $text = Ai::generateTextResult(
109109

110110
#### Generate text with chat history using any suitable model from any provider
111111

112-
_Note: Similarly to the previous example, even without specifying the model here, the SDK will be able to infer required model capabilities because it can detect that multiple chat messages are passed. Therefore it will internally only consider models that support `AiFeature::TEXT_GENERATION` as well as `AiCapability::CHAT_HISTORY`._
112+
_Note: Similarly to the previous example, even without specifying the model here, the SDK will be able to infer required model capabilities because it can detect that multiple chat messages are passed. Therefore it will internally only consider models that support `AiFeature::TEXT_GENERATION` as well as `TextGenerationConfig::CHAT_HISTORY`._
113113

114114
```php
115115
$text = Ai::generateTextResult(

0 commit comments

Comments
 (0)