qdrant_filters

Qdrant node for n8n

Package Information

Released: 5/29/2024
Downloads: 0 weekly / 2 monthly
Latest Version: 0.1.0
Author: fizzey

Documentation

n8n-nodes-qdrantFilters

This is an n8n community node. It lets you use a new Qdrant node in your n8n workflows.

This new Qdrant node implements the filter functionality. The filter functionality is used to refine and specify the conditions under which points are retrieved from the vector database.

n8n is a fair-code licensed workflow automation platform.

Installation
Operations
Credentials
Compatibility
Usage
Resources

Installation

Follow the installation guide in the n8n community nodes documentation.

Operations

This node does the same thing as the previous one, but it adds the filter functionality. The functionality is not implemented at all currently, and we encourage you to help us fix the bug we have with it.

Credentials

You will need your credential on qdrant website to use the node.

Compatibility

State the minimum n8n version, as well as which versions you test against. You can also include any known version incompatibility issues.

Usage

You need to provide a JSON filter specifying the criteria for documents you want to include or exclude. Here is an example:

{
  "must": [
    {
      "key": "metadata.rand_number",
      "match": {
        "value": 5
      }
    }
  ],
  "should": [
    {
      "key": "metadata.color",
      "match": {
        "value": "red"
      }
    }
  ],
  "must_not": [
    {
      "key": "metadata.author",
      "match": {
        "value": "John Doe"
      }
    }
  ]
}

You have three options:

  • must: Only documents that meet these conditions will be included.
  • should: Documents that meet these conditions will be preferred, but it's not mandatory.
  • must_not: Documents that meet these conditions will be excluded.

Resources

Discussion