Destination
Qdrant API
Create a Qdrant Destination
-
Click the + icon on the Nexset that will be sent to the Qdrant destination, and select the Send to Destination option from the menu.
-
Select the Qdrant connector from the list of available destination connectors. Then, select the credential that will be used to connect to your Qdrant account, and click Next; or, create a new Qdrant credential for use in this flow.
-
In Nexla, Qdrant destinations can be created using pre-built endpoint templates, which expedite destination setup for common Qdrant endpoints. Each template is designed specifically for the corresponding Qdrant endpoint, making destination configuration easy and efficient.
• To configure this destination using a template, follow the instructions in Configure Using a Template.Qdrant destinations can also be configured manually, allowing you to send data to Qdrant endpoints not included in the pre-built templates or apply further customizations to exactly suit your needs.
• To configure this destination manually, follow the instructions in Configure Manually.
Configure Using a Template
Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common Qdrant endpoints. Each template is designed specifically for the corresponding Qdrant endpoint, making destination setup easy and efficient.
-
To configure this destination using a template, select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Configure Manually
Qdrant destinations can be manually configured to send data to any valid Qdrant API endpoint. Manual configuration provides maximum flexibility for accessing endpoints not covered by pre-built templates or when you need custom API configurations.
Using manual configuration, you can also configure Nexla to automatically send the response received from the Qdrant API after each call to a new Nexla webhook data source.
API Method
-
To manually configure this destination, select the Advanced tab at the top of the configuration screen.
-
Select the API method that will be used for calls to the Qdrant API from the Method pulldown menu. Qdrant API typically uses PUT method for upserting points and POST method for batch operations.
Data Format
- Select the format in which the Nexset data will be sent to the Qdrant API from the Content Format pulldown menu. Qdrant API expects JSON format for all requests.
API Endpoint URL
- Enter the URL of the Qdrant API endpoint to which data will be sent in the URL field. This should be the complete URL including your cluster host URL (from your credential), the API path (e.g.,
/collections/{collection_name}/points,/collections/{collection_name}/points/batch), and any required query parameters. Include any required path parameters in the URL.
Ensure the API endpoint URL is correct and accessible with your current credentials. The Qdrant API endpoint URL should point to the endpoint where you want to upsert points. The endpoint URL should include your cluster host URL and the appropriate API path. You can test the endpoint using the Test button after configuring the URL.
Request Body
- Configure the request body that will be sent to the Qdrant API. The request body should contain the point data formatted as JSON, with field names matching the Qdrant API's expected structure. The request body format is typically
{message.json}to send the entire Nexset data as JSON, or you can construct a custom JSON structure with specific field mappings. For batch operations, you may need to format the request body to include anoperationsarray containing upsert operations with points.
The request body must be valid JSON and must match the Qdrant API's expected format for the specific endpoint you're using. Qdrant API uses specific structures for different endpoints (upsert, batch update, etc.). Each point should include an ID, vector values, and optional payload. For detailed information about request body formats, available endpoints, and point structures, see the Qdrant API documentation.
Save the Destination
- Once all of the relevant steps in the above sections have been completed, click the Next button to proceed with the rest of the data flow configuration, or click Save to save the destination configuration for later use.