Skip to content

Commit

Permalink
feat(qdrant): Add access to inner client for custom operations (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
timonv authored Aug 15, 2024
1 parent e9d0016 commit 2443933
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions swiftide-integrations/src/qdrant/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ impl Qdrant {

qdrant::VectorParamsBuilder::new(size, distance).build()
}

/// Returns the inner client for custom operations
pub fn client(&self) -> &Arc<qdrant_client::Qdrant> {
&self.client
}
}

impl QdrantBuilder {
Expand Down

0 comments on commit 2443933

Please sign in to comment.