#[tokio::test] async fn test_delete_vectors() { async fn delete_vectors() -> Result<(), Box> { // WARNING: This is a generated test snippet. // Please, modify the snippet in the `../snippets/delete_vectors.rs` file use qdrant_client::qdrant::{DeletePointVectorsBuilder, PointsIdsList, VectorsSelector}; use qdrant_client::Qdrant; let client = Qdrant::from_url("http://localhost:6334").build()?; client .delete_vectors( DeletePointVectorsBuilder::new("{collection_name}") .points_selector(PointsIdsList { ids: vec![0.into(), 3.into(), 10.into()], }) .vectors(VectorsSelector { names: vec!["text".into(), "image".into()], }) .wait(true), ) .await?; Ok(()) } let _ = delete_vectors().await; }