rust_ai/openai/types/mod.rs
1//!
2//! # Type collection of OpenAI APIs
3//!
4//! You may find the `Model` struct mostly used. Types ending `*Response` are
5//! wrapped return values from OpenAI endpoints.
6
7////////////////////////////////////////////////////////////////////////////////
8
9/// Common types for OpenAI
10pub mod common;
11
12/// OpenAI models
13pub mod model;
14
15/// OpenAI Chat Completions
16pub mod chat_completion;
17
18/// OpenAI Completions
19pub mod completion;
20
21/// OpenAI Edits
22pub mod edit;
23
24/// OpenAI Images
25pub mod image;
26
27/// OpenAI Embeddings
28pub mod embedding;
29
30/// OpenAI Audios
31pub mod audio;
32
33/// OpenAI Moderations
34pub mod moderation;
35
36pub use model::Model;