File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change 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
1028Add the following to your Cargo.toml file:
@@ -44,24 +62,6 @@ Output:
4462choice: 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
6767This library is distributed under the terms of the MIT license. See [ LICENSE] ( LICENSE ) for details.
You can’t perform that action at this time.
0 commit comments