Skip to content

Commit d8010cb

Browse files
author
Guantong
committed
Update readme
1 parent 7f34772 commit d8010cb

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
11
# OpenAI API for Rust
22

3-
A community-maintained library provides a simple and convenient way to interact with the OpenAI API.
4-
53
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/openai-rs/openai-api/rust.yml?style=flat-square)
64
![GitHub](https://img.shields.io/github/license/openai-rs/openai-api?style=flat-square)
75

6+
A community-maintained library provides a simple and convenient way to interact with the OpenAI API.
7+
8+
## API
9+
10+
check [official API reference](https://platform.openai.com/docs/api-reference)
11+
|API|Support|
12+
|---|---|
13+
|Models|✔️|
14+
|Completions|✔️|
15+
|Chat|✔️|
16+
|Edits|✔️|
17+
|Images|✔️|
18+
|Embeddings|✔️|
19+
|Audio|✔️|
20+
|Files||
21+
|Fine-tunes||
22+
|Moderations||
23+
|Engines||
24+
___
25+
826
## Usage
927

1028
Add the following to your Cargo.toml file:
@@ -44,24 +62,6 @@ Output:
4462
choice: Some("What day of the week is it?\n")
4563
```
4664

47-
## API
48-
49-
check [official API reference](https://platform.openai.com/docs/api-reference)
50-
|API|Support|
51-
|---|---|
52-
|Models|✔️|
53-
|Completions|✔️|
54-
|Chat|✔️|
55-
|Edits|✔️|
56-
|Images|✔️|
57-
|Embeddings|✔️|
58-
|Audio|✔️|
59-
|Files||
60-
|Fine-tunes||
61-
|Moderations||
62-
|Engines||
63-
___
64-
6565
## License
6666

6767
This library is distributed under the terms of the MIT license. See [LICENSE](LICENSE) for details.

0 commit comments

Comments
 (0)