An unofficial Rust library for the OpenAI API.
Note
The ownership of the
openai
package on crates.io has been transfered to me, Valentine Briese (not the previous owner). This is an entirely different project than the one that was on crates.io asopenai
previously!
Warning
Currently in alpha, I wouldn't recommend using in any production applications. See Implementation Progress.
create_completion()
, more Completion::create()
.I'm still working on making examples in the examples
directory.
Currently, there are examples for the completions
module and the chat
module.
For other modules, you can look at the tests
submodules for some reference.
Examples come slowly because this project, in its current state, changes very quickly, and it's not fun making sure all examples accurately reflect the latest version. But, they are coming, don't worry!
██████████
Models
████████░░
Completions
████████░░
Chat
██████████
Edits
░░░░░░░░░░
Images
█████████░
Embeddings
░░░░░░░░░░
Audio
░░░░░░░░░░
Files
░░░░░░░░░░
Fine-tunes
██████████
Moderations
I've gotten my first monthly sponsor! 🎉
I'm very proud that I can now commit this Sponsors section to this README, and this is thanks to Arto Bendiken. Thanks Arto!
I suppose now I better figure out a good way of organizing this section in case I get any more sponsors-