Introduction
Start building AI applications with the OpenRouter API
use orpheus::prelude::*;
fn main() -> anyhow::Result<()> {
let client = Orpheus::from_env()?;
let response = client
.chat("Say hello to our friend!")
.model("openai/gpt-4o")
.send()?;
println!("Model says: {}", response.content()?);
Ok(())
}Model says: Hello there! It's great to meet you. How can I assist you today?Objective
Key Features
Last updated
Was this helpful?