Skip to content

Commit 3d92ba9

Browse files
docs: fix typos (#1996)
1 parent f64bec6 commit 3d92ba9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ except openai.APIStatusError as e:
270270
print(e.response)
271271
```
272272

273-
Error codes are as followed:
273+
Error codes are as follows:
274274

275275
| Status Code | Error Type |
276276
| ----------- | -------------------------- |
@@ -394,7 +394,7 @@ completion = response.parse() # get the object that `chat.completions.create()`
394394
print(completion)
395395
```
396396

397-
These methods return an [`LegacyAPIResponse`](https://github.com/openai/openai-python/tree/main/src/openai/_legacy_response.py) object. This is a legacy class as we're changing it slightly in the next major version.
397+
These methods return a [`LegagcyAPIResponse`](https://github.com/openai/openai-python/tree/main/src/openai/_legacy_response.py) object. This is a legacy class as we're changing it slightly in the next major version.
398398

399399
For the sync client this will mostly be the same with the exception
400400
of `content` & `text` will be methods instead of properties. In the
@@ -438,8 +438,7 @@ If you need to access undocumented endpoints, params, or response properties, th
438438
#### Undocumented endpoints
439439

440440
To make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other
441-
http verbs. Options on the client will be respected (such as retries) will be respected when making this
442-
request.
441+
http verbs. Options on the client will be respected (such as retries) when making this request.
443442

444443
```py
445444
import httpx

0 commit comments

Comments
 (0)