docs auto-sync

This commit is contained in:
qdrant
2023-04-14 08:23:28 +00:00
parent c5baaf865f
commit 1a4dbf55c1
2 changed files with 32 additions and 15 deletions
@@ -44,21 +44,6 @@ This installation method can be helpful if you want to compile Qdrant for a spec
Before compiling, make sure that the necessary libraries and the [rust toolchain](https://www.rust-lang.org/tools/install) are installed.
The current list of required libraries can be found in the [Dockerfile](https://github.com/qdrant/qdrant/blob/master/Dockerfile).
Select the minimum set of processor instructions that will be available when using the service.
The instruction set depends on the hardware at your disposal.
You can enable runtime selection of the architecture at the cost of a slightly bigger binary file size:
```bash
export OPENBLAS_DYNAMIC_ARCH=1
```
Or select specific architecture:
```bash
export OPENBLAS_TARGET=CORE2
```
Build Qdrant with Cargo:
```bash
@@ -117,6 +102,7 @@ To install this client, just run the following command:
pip install qdrant-client
```
### Integrations
Qdrant may be also used as an efficient vector search backend in some other tools. Please check out the [Integrations](../integrations/) section
@@ -25,6 +25,37 @@ In this case Qdrant will use default configuration and store all data under `./q
Now Qdrant should be accessible at [localhost:6333](http://localhost:6333)
### Local mode
![Local mode workflow](https://raw.githubusercontent.com/qdrant/qdrant-client/master/docs/images/try-develop-deploy.png)
With python client it is possible to try Qdrant without running docker container at all.
Simply install it
```
pip install qdrant-client
```
and initialize client like this:
```
from qdrant_client import QdrantClient
client = QdrantClient(":memory:")
# or
client = QdrantClient(path="path/to/db") # Persists changes to disk
```
Local mode is useful for development, prototyping and testing.
* You can use it to run tests in your CI/CD pipeline.
* Run it in Colab or Jupyter Notebook, no extra dependencies required. See a [Colab Example](https://colab.research.google.com/drive/1Bz8RSVHwnNDaNtDwotfPj0w7AYzsdXZ-?usp=sharing)
* When you need to scale, simply switch to server mode.
## API
All interaction with Qdrant takes place via the REST API.