use qdrant_client::{ Qdrant, qdrant::{Document, Query, QueryPointsBuilder}, }; use std::collections::HashMap; pub async fn main() -> anyhow::Result<()> { let client = Qdrant::from_url("").build().unwrap(); // @hide client .with_header("openrouter-api-key", "") .query( QueryPointsBuilder::new("{collection_name}") .query(Query::new_nearest(Document { text: "How to bake cookies?".into(), model: "openrouter/mistralai/mistral-embed-2312".into(), options: HashMap::new(), })) .build(), ) .await?; Ok(()) }