1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! # Aily
//!
//! Aily is a library for building AI applications.
//!
//! ## Features
//!
//! - Support for multiple AI providers
//! - Easy to use API
//! - Fast and efficient
//!
//! ## Installation
//!
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! [dependencies]
//! aily = "0.1.0"
//! ```
//!
//! ## Usage
//!
//! ```
//! use aily::{Client, Method};
//! use aily::header::HeaderMap;
//!
//! #[tokio::main]
//! async fn main() {
//! let client = Client::new();
//! let headers = HeaderMap::new();
//! let body = "{\"model\":\"chat-4o\"}";
//! let response = client.request("/v1/chat/completions", Method::POST, headers, body).await;
//! println!("{:?}", response);
//! }
//! ```
//!
//! ## License
//!
//! This project is licensed under the MIT license. See [LICENSE](LICENSE) for more information.
pub use header;
pub use Method;
pub use ;
pub use Client;
pub use ;