use ZuckGate::{ url::{self, url}, Ask, }; fn main() { let content = format!( "{{ \"system_instruction\": {{ \"parts\": {{ \"text\": \"{}\"}} }}, \"contents\": {{ \"parts\": {{ \"text\": \"{}\" }} }}, \"generationConfig\": {{ \"maxOutputTokens\": {} }} }}", "tell best and great", "hi great to meet you", 8192 ); // let ask = Ask::new() // .url("generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent?key=AIzaSyAxwL368iXBuVu8FlKi0Ze5JvagZbPi9so") // .post() // .content_type("application/json") // .content(&content) // .ask(); // println!("{}", ask); let ask = Ask::new() .url("https://wiki.osdev.org/Bare_Bones") .get() .connection(ZuckGate::Connections::Close) .ask(); println!("{}", ask); // let ask = Ask::new().url("https://x.com/elonmusk").get().ask(); // let ask = Ask::new().url("https://x.com/elonmusk").get().ask(); }