rust_ai/openai/apis/mod.rs
1//!
2//! # OpenAI capabilities
3//!
4//! For text/code completion related tasks, OpenAI suggests to make use of
5//! `gpt-3.5-turbo` model for a better performance at lower cost.
6//!
7//! Image capabilites make use of DALLĀ·E model and you may not be able to
8//! control model selection.
9
10////////////////////////////////////////////////////////////////////////////////
11
12/// Chat completion using GPT-3.5 (ChatGPT) and GPT-4
13pub mod chat_completion;
14
15/// Propmpt completion using GPT-3 series
16pub mod completion;
17
18/// Text and code edits
19pub mod edit;
20
21/// Image generation and manipulation
22pub mod image;
23
24/// Embedding and extraction
25pub mod embedding;
26
27/// Audio transcription and translation
28pub mod audio;
29
30/// Moderation endpoint
31pub mod moderation;