Update qdrant-landing/content/documentation/tutorials/async-api.md

Co-authored-by: Steven Pousty <steve.pousty@gmail.com>
This commit is contained in:
Kacper Łukawski
2023-08-30 12:08:26 +02:00
committed by GitHub
co-authored by Steven Pousty
parent e21f00f2bc
commit 6dd24cc266
@@ -48,8 +48,7 @@ client = QdrantClient("localhost")
```
The default client only exposes the synchronous methods for interacting with the server. To access the async client and it's underlying methods, we need to use autogenerated async clients.
It is possible to use asynchronous HTTP API by using `qdrant_client.http.api_client.AsyncApiClient`. However, the gRPC API is much more
efficient and is the recommended way of using Qdrant asynchronously.
It is possible to use asynchronous HTTP API by using `qdrant_client.http.api_client.AsyncApiClient`. The asynchronous gRPC API if more efficient than the HTTP API, which is why we recommend you use it and we will be using it here.
### gRPC API