dynamo_async_openai/
lib.rs

1// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2// SPDX-License-Identifier: Apache-2.0
3//
4// Based on https://github.com/64bit/async-openai/ by Himanshu Neema
5// Original Copyright (c) 2022 Himanshu Neema
6// Licensed under MIT License (see ATTRIBUTIONS-Rust.md)
7//
8// Modifications Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES.
9// Licensed under Apache 2.0
10
11//! ## Examples
12//! For full working examples for all supported features see [examples](https://github.com/64bit/async-openai/tree/main/examples) directory in the repository.
13//!
14#![allow(deprecated)]
15#![allow(warnings)]
16#![cfg_attr(docsrs, feature(doc_cfg))]
17
18#[cfg(feature = "byot")]
19pub(crate) use async_openai_macros::byot;
20
21#[cfg(not(feature = "byot"))]
22pub(crate) use async_openai_macros::byot_passthrough as byot;
23
24mod assistants;
25mod audio;
26mod audit_logs;
27mod batches;
28mod chat;
29mod client;
30mod completion;
31pub mod config;
32mod download;
33mod embedding;
34pub mod error;
35mod file;
36mod fine_tuning;
37mod image;
38mod invites;
39mod messages;
40mod model;
41mod moderation;
42mod project_api_keys;
43mod project_service_accounts;
44mod project_users;
45mod projects;
46mod responses;
47mod runs;
48mod steps;
49mod threads;
50pub mod traits;
51pub mod types;
52mod uploads;
53mod users;
54mod util;
55mod vector_store_file_batches;
56mod vector_store_files;
57mod vector_stores;
58
59pub use assistants::Assistants;
60pub use audio::Audio;
61pub use audit_logs::AuditLogs;
62pub use batches::Batches;
63pub use chat::Chat;
64pub use client::Client;
65pub use completion::Completions;
66pub use embedding::Embeddings;
67pub use file::Files;
68pub use fine_tuning::FineTuning;
69pub use image::Images;
70pub use invites::Invites;
71pub use messages::Messages;
72pub use model::Models;
73pub use moderation::Moderations;
74pub use project_api_keys::ProjectAPIKeys;
75pub use project_service_accounts::ProjectServiceAccounts;
76pub use project_users::ProjectUsers;
77pub use projects::Projects;
78pub use responses::Responses;
79pub use runs::Runs;
80pub use steps::Steps;
81pub use threads::Threads;
82pub use uploads::Uploads;
83pub use users::Users;
84pub use vector_store_file_batches::VectorStoreFileBatches;
85pub use vector_store_files::VectorStoreFiles;
86pub use vector_stores::VectorStores;