use aionic::openai::{Embedding, OpenAI}; #[tokio::main] async fn main() -> Result<(), Box> { let mut client = OpenAI::::new(); let embedding = client .embed("The food was delicious and the waiter...") .await?; println!("{:?}", embedding); Ok(()) }