1 unstable release
0.1.0 | Mar 26, 2023 |
---|
#32 in #chat-completion
11KB
105 lines
rust-completions
This is just a simple wrapper + binary for OpenAI Chat Completions. Read more at API Reference
- To use it as a binary, just run it with
API_KEY="<your-openai-api-key>" ORGANIZATION_ID="<your-openai-organization-id>" ./rust-completions "<your-prompt>"
- To use it as a library, add it as a dependency in your
Cargo.toml
file like:
[dependencies]
rust-completions = { version = "0.1" }
Dependencies
~7–19MB
~255K SLoC