use qdrant_client::{ Payload, Qdrant, qdrant::{Document, PointStruct, UpsertPointsBuilder}, }; use std::collections::HashMap; pub async fn main() -> anyhow::Result<()> { let client = Qdrant::from_url("").build()?; // @hide client .with_header("openrouter-api-key", "") .upsert_points(UpsertPointsBuilder::new("{collection_name}", vec![ PointStruct::new(1, Document { text: "Recipe for baking chocolate chip cookies".into(), model: "openrouter/mistralai/mistral-embed-2312".into(), options: HashMap::new(), }, Payload::default()) ]).wait(true)) .await?; Ok(()) }