port ai crate to ai2, with all tests passing

This commit is contained in:
KCaverly 2023-10-30 14:40:31 -04:00
parent 204aba07f6
commit 04ab68502b
22 changed files with 1930 additions and 0 deletions

View file

@ -0,0 +1,9 @@
pub mod completion;
pub mod embedding;
pub mod model;
pub use completion::*;
pub use embedding::*;
pub use model::OpenAILanguageModel;
pub const OPENAI_API_URL: &'static str = "https://api.openai.com/v1";