diff --git a/src/content/docs/autorag/configuration/metadata.mdx b/src/content/docs/autorag/configuration/metadata.mdx index 4ebb7f936c37f8..07f3232caca2b6 100644 --- a/src/content/docs/autorag/configuration/metadata.mdx +++ b/src/content/docs/autorag/configuration/metadata.mdx @@ -113,9 +113,9 @@ filters: { type: "and", filters: [ { - type: "gt", + type: "gte", key: "folder", - value: "customer-a//", + value: "customer-a/", }, { type: "lte", @@ -128,8 +128,8 @@ filters: { This filter identifies paths starting with `customer-a/` by using: -- The `and` condition to combine the effects of the `gt` and `lte` conditions. -- The `gt` condition to include paths greater than the `/` ASCII character. +- The `and` condition to combine the effects of the `gte` and `lte` conditions. +- The `gte` condition to include paths greater than and including the folder itself. - The `lte` condition to include paths less than and including the lower case `z` ASCII character. Together, these conditions effectively select paths that begin with the provided path value. diff --git a/src/content/docs/autorag/how-to/multitenancy.mdx b/src/content/docs/autorag/how-to/multitenancy.mdx index 3976dfcdea7d8b..83797f65718723 100644 --- a/src/content/docs/autorag/how-to/multitenancy.mdx +++ b/src/content/docs/autorag/how-to/multitenancy.mdx @@ -63,9 +63,9 @@ filters: { type: "and", filters: [ { - type: "gt", + type: "gte", key: "folder", - value: "customer-a//", + value: "customer-a/", }, { type: "lte", @@ -78,8 +78,8 @@ filters: { This filter identifies paths starting with `customer-a/` by using: -- The `and` condition to combine the effects of the `gt` and `lte` conditions. -- The `gt` condition to include paths greater than the `/` ASCII character. +- The `and` condition to combine the effects of the `gte` and `lte` conditions. +- The `gte` condition to include paths greater than and including the folder itself. - The `lte` condition to include paths less than and including the lower case `z` ASCII character. -This filter captures both files `profile.md` and `contract-1.pdf`. \ No newline at end of file +This filter captures both files `profile.md` and `contract-1.pdf`.