mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 23:48:31 +02:00
docs: Added Rust client usage (#401)
* docs: Rust quick-start * docs: rust auth.md * docs: Rust /collections usage * docs: filtering Rust * docs: filtering Rust * docs: Rust /indexing * docs: Rust /payload * docs: Rust /points * docs: Rust /storage * docs: Rust /snapshots * docs: Rust /search * New line after code blocks * Add Rust imports * Functions end with semicolon, values end without it * Reformat using rustfmt * Use TokenizerType ID from type * Define score as Rust let if * Add example of update collection call, implemented in Rust client 1.7.0 * chore: hide update_collection() --------- Co-authored-by: timvisee <tim@visee.me>
This commit is contained in:
@@ -55,4 +55,13 @@ var client = new QdrantClient(
|
||||
https: true,
|
||||
apiKey: "<paste-your-api-key-here>"
|
||||
);
|
||||
```
|
||||
```
|
||||
|
||||
```rust
|
||||
use qdrant_client::client::QdrantClient;
|
||||
|
||||
let client = QdrantClient::from_url("xyz-example.eu-central.aws.cloud.qdrant.io:6334")
|
||||
.with_api_key("<paste-your-api-key-here>")
|
||||
.build()
|
||||
.unwrap();
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user