Skip to content

Commit cd531eb

Browse files
committed
Fix typos
1 parent 1f5763c commit cd531eb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The following naming conventions must be followed for consistency and autoloadin
1616
- Traits are suffixed with `Trait`.
1717
- Enums are suffixed with `Enum`.
1818
- File names are the same as the class, trait, and interface name for PSR-4 autoloading.
19-
- Classes, interfaces, and traits, and namespaces are not prefixed with `Ai`, exluding the root namespace.
19+
- Classes, interfaces, and traits, and namespaces are not prefixed with `Ai`, excluding the root namespace.
2020

2121
## Documentation standards
2222

docs/ARCHITECTURE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ $texts = AiClient::generateTextResult(
7373

7474
##### Fluent API
7575
```php
76-
$imageFile = AiClient::prompt('Generate an illustration of the PHP elephant in the Carribean sea.')
76+
$imageFile = AiClient::prompt('Generate an illustration of the PHP elephant in the Caribbean sea.')
7777
->usingProvider('openai')
7878
->generateImage();
7979
```
@@ -85,7 +85,7 @@ $modelsMetadata = AiClient::defaultRegistry()->findProviderModelsMetadataForSupp
8585
new ModelRequirements([CapabilityEnum::IMAGE_GENERATION])
8686
);
8787
$imageFile = AiClient::generateImageResult(
88-
'Generate an illustration of the PHP elephant in the Carribean sea.',
88+
'Generate an illustration of the PHP elephant in the Caribbean sea.',
8989
AiClient::defaultRegistry()->getProviderModel(
9090
'openai',
9191
$modelsMetadata[0]->getId()
@@ -97,7 +97,7 @@ $imageFile = AiClient::generateImageResult(
9797

9898
##### Fluent API
9999
```php
100-
$imageFile = AiClient::prompt('Generate an illustration of the PHP elephant in the Carribean sea.')
100+
$imageFile = AiClient::prompt('Generate an illustration of the PHP elephant in the Caribbean sea.')
101101
->generateImage();
102102
```
103103

@@ -107,7 +107,7 @@ $providerModelsMetadata = AiClient::defaultRegistry()->findModelsMetadataForSupp
107107
new ModelRequirements([CapabilityEnum::IMAGE_GENERATION])
108108
);
109109
$imageFile = AiClient::generateImageResult(
110-
'Generate an illustration of the PHP elephant in the Carribean sea.',
110+
'Generate an illustration of the PHP elephant in the Caribbean sea.',
111111
AiClient::defaultRegistry()->getProviderModel(
112112
$providerModelsMetadata[0]->getProvider()->getId(),
113113
$providerModelsMetadata[0]->getModels()[0]->getId()

docs/REQUIREMENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ There are two primary developer audiences this client is intended for. This is i
88

99
### Extenders
1010

11-
Extenders are the folks that will be adding providers, models, and otherwise extending the functionality of the client itself. These are highly technical people who likely have a stronger understanding of how models and model APIs work. Given their capabilities, these APIs will be more technical and formal in nature, using things such as interfaces, traits, and so forth, relying on a knowledge of inheritence and composition.
11+
Extenders are the folks that will be adding providers, models, and otherwise extending the functionality of the client itself. These are highly technical people who likely have a stronger understanding of how models and model APIs work. Given their capabilities, these APIs will be more technical and formal in nature, using things such as interfaces, traits, and so forth, relying on a knowledge of inheritance and composition.
1212

1313
### Implementers
1414

0 commit comments

Comments
 (0)