port ai crate to ai2, with all tests passing
This commit is contained in:
parent
204aba07f6
commit
04ab68502b
22 changed files with 1930 additions and 0 deletions
9
crates/ai2/src/providers/open_ai/mod.rs
Normal file
9
crates/ai2/src/providers/open_ai/mod.rs
Normal 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";
|
Loading…
Add table
Add a link
Reference in a new issue