From 1a4dbf55c1a12210d79ed3b43baa25009b50f662 Mon Sep 17 00:00:00 2001 From: qdrant Date: Fri, 14 Apr 2023 08:23:28 +0000 Subject: [PATCH] docs auto-sync --- .../content/documentation/install.md | 16 +--------- .../content/documentation/quick_start.md | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+), 15 deletions(-) diff --git a/qdrant-landing/content/documentation/install.md b/qdrant-landing/content/documentation/install.md index 1869c596d..d8c3ccd01 100644 --- a/qdrant-landing/content/documentation/install.md +++ b/qdrant-landing/content/documentation/install.md @@ -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 diff --git a/qdrant-landing/content/documentation/quick_start.md b/qdrant-landing/content/documentation/quick_start.md index 7493db78f..1e08260b0 100644 --- a/qdrant-landing/content/documentation/quick_start.md +++ b/qdrant-landing/content/documentation/quick_start.md @@ -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.