qdrant / rust-client

Rust client for Qdrant vector search engine
https://crates.io/crates/qdrant-client
Apache License 2.0
222 stars 45 forks source link

Add documentation to operation/endpoint methods #144

Closed timvisee closed 3 months ago

timvisee commented 3 months ago

This PR adds makes various improvements around the crate documentation.

It is quite big, and I don't expect others to go through it line by line. It does not have code/logic changes. Examples are sourced from our test snippets.

As always, inspect these changes locally with: cargo doc --no-deps --open

It adds a basic connection example (and adds a Qdrant logo):

image

It adds basic operation documentation, a minimal example and links to our main documentation:

image

It hides deprecated modules:

image

Amongst other things.

All Submissions:

New Feature Submissions:

  1. [x] Does your submission pass tests?
  2. [x] Have you formatted your code locally using cargo +nightly fmt --all command prior to submission?
  3. [x] Have you checked your code using cargo clippy --all --all-features command?