From 24439339a9b935befcbcc92e56c01c5048605138 Mon Sep 17 00:00:00 2001 From: Timon Vonk Date: Thu, 15 Aug 2024 20:13:55 +0200 Subject: [PATCH] feat(qdrant): Add access to inner client for custom operations (#242) --- swiftide-integrations/src/qdrant/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/swiftide-integrations/src/qdrant/mod.rs b/swiftide-integrations/src/qdrant/mod.rs index 7af2e054..80195d05 100644 --- a/swiftide-integrations/src/qdrant/mod.rs +++ b/swiftide-integrations/src/qdrant/mod.rs @@ -168,6 +168,11 @@ impl Qdrant { qdrant::VectorParamsBuilder::new(size, distance).build() } + + /// Returns the inner client for custom operations + pub fn client(&self) -> &Arc { + &self.client + } } impl QdrantBuilder {