Cargo Features
[dependencies]
openai-rs-api = { version = "1.1.3", default-features = false, features = ["full", "list_models", "chat", "completions", "embeddings", "files", "audio", "images", "edits", "fine_tunes", "moderations"] }
- default = full
-
The
full
feature is set by default wheneveropenai-rs-api
is added without
somewhere in the dependency tree.default-features = false - full default = audio, chat, completions, edits, embeddings, files, fine_tunes, images, list_models, moderations
- list_models full
-
Affects
models::list_models
… - chat full
-
Affects
models::chat
… - completions full
-
Affects
models::completions
… - embeddings full
-
Affects
models::embeddings
… - files full
-
Affects
models::files
… - audio full
-
Affects
models::audio
… - images full
-
Affects
models::images
… - edits full
-
Affects
models::edits
… - fine_tunes full
-
Affects
models::fine_tunes
… - moderations full
-
Affects
models::moderations
…