35 lines
1.3 KiB
ReStructuredText
Raw Normal View History

Qdrant
===========
Batch process all your records using ``unstructured-ingest`` to store structured outputs and embeddings locally on your filesystem and upload those to a Qdrant collection.
First you'll need to install the Qdrant dependencies as shown here.
.. code:: shell
pip install "unstructured[qdrant]"
Create a Qdrant collection with the appropriate configurations. Find more information in the `Qdrant collections guide <https://qdrant.tech/documentation/concepts/collections/>`_.
Run Locally
-----------
The upstream connector can be any of the ones supported, but for convenience here, showing a sample command using the
upstream local connector.
.. tabs::
.. tab:: Shell
.. literalinclude:: ./code/bash/qdrant.sh
:language: bash
.. tab:: Python
.. literalinclude:: ./code/python/qdrant.py
:language: python
For a full list of the options the CLI accepts check ``unstructured-ingest <upstream connector> qdrant --help``.
NOTE: Keep in mind that you will need to have all the appropriate extras and dependencies for the file types of the documents contained in your data storage platform if you're running this locally. You can find more information about this in the `installation guide <https://unstructured-io.github.io/unstructured/installing.html>`_.