Skip to content

Commit aa21ba8

Browse files
borkwebfelixarntz
andauthored
Explicitly declare which provider the model is coming from
Co-authored-by: Felix Arntz <[email protected]>
1 parent 3d7990a commit aa21ba8

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
@@ -37,7 +37,7 @@ $text = AiClient::generateTextResult(
3737
##### Fluent API
3838
```php
3939
$text = AiClient::prompt('Write a 2-verse poem about PHP.')
40-
->usingModel('gemini-2.5-flash')
40+
->usingModel(Google::model('gemini-2.5-flash'))
4141
->generateText();
4242
```
4343

@@ -54,7 +54,7 @@ $text = AiClient::generateTextResult(
5454
##### Fluent API
5555
```php
5656
$texts = AiClient::prompt('Write a 2-verse poem about PHP.')
57-
->usingModel('claude-3.7-sonnet')
57+
->usingModel(Anthropic::model('claude-3.7-sonnet'))
5858
->generateTexts(4);
5959
```
6060

0 commit comments

Comments
 (0)