Create a Qdrant Data Source
You will need the following information about your Qdrant database:- Host
- Port
- Qdrant API key
- From the navigation pane, click Data > Data Sources.
- Click Create a Data Source.
- In the New Data Source window, from Select Data Store, select Qdrant.
- Provide the Qdrant Host name, Port, and Qdrant API Key for your Qdrant database.
- Specify a Data Source Name and an optional Description.
- Click Test Credentials.
- Confirm that the Data Source authenticates.
- Select who can view and use the Data Source in Projects.
Use the Qdrant Data Source
To use your Qdrant Data Source, you must install the prerequisite Python libraries in the compute Environment you want to run Qdrant commands in and configure the Qdrant client using a Domino-specific configuration.Install the Qdrant Python library
To install the Qdrant Python library in your compute Environment by edit your compute Environment and add the following lines to the Dockerfile instructions:Configure the Qdrant Python client
To connect to your Qdrant service in a Domino execution, you must initialize your Qdrant connection using a Domino-specific Environment. To find the configuration code snippets:- Add the Qdrant Data Source to your Project.
- In your Workspace, go to Data > Data Sources > Code snippet > Python.
- Copy and paste the following code snippet into your code, and modify it as needed.
Next steps
- After connecting to your Data Source, learn how to Use Data Sources.
- Share this Data Source with your collaborators.