A tiny tool to auto-augment prompts programmatically.
[dependencies]
promptune = "0.1.0"
tokio = { version = "1", features = ["full"] }use promptune::{Config, Prompter};
#[tokio::main]
async fn main() -> promptune::Result<()> {
let config = Config::from_env()?;
let prompter = Prompter::new("your prompt", "cache_key", &config).await?;
println!("{}", prompter.get());
Ok(())
}Set GEMINI_API_KEY environment variable.
let config = Config::from_env()?
.with_cache_dir("./cache")
.with_model("gemini-2.0-flash");MIT