ai_lib/types/mod.rs
1// This is the start of the mod.rs file
2// It includes various modules for the AI library
3
4pub mod common;
5pub mod error;
6pub mod request;
7pub mod response;
8
9pub use request::ChatCompletionRequest;
10pub use response::ChatCompletionResponse;
11pub mod function_call;
12pub use common::{Choice, Message, Role, Usage};
13pub use error::AiLibError;
14pub use function_call::{FunctionCall, FunctionCallPolicy, Tool};
15
16// Additional code may follow