From f6a3a44f98720c53424c007e4b7354f857d114ed Mon Sep 17 00:00:00 2001 From: Fangrui Liu Date: Sun, 25 Jun 2023 10:51:38 +0800 Subject: [PATCH 1/2] fixed typo in myscale docs --- docs/extras/ecosystem/integrations/myscale.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extras/ecosystem/integrations/myscale.mdx b/docs/extras/ecosystem/integrations/myscale.mdx index 1321c38c8e40a..99464b623ef89 100644 --- a/docs/extras/ecosystem/integrations/myscale.mdx +++ b/docs/extras/ecosystem/integrations/myscale.mdx @@ -25,7 +25,7 @@ There are two ways to set up parameters for myscale index. 1. Environment Variables Before you run the app, please set the environment variable with `export`: - `export MYSCALE_URL='' MYSCALE_PORT= MYSCALE_USERNAME= MYSCALE_PASSWORD= ...` + `export MYSCALE_HOST='' MYSCALE_PORT= MYSCALE_USERNAME= MYSCALE_PASSWORD= ...` You can easily find your account, password and other info on our SaaS. For details please refer to [this document](https://docs.myscale.com/en/cluster-management/) Every attributes under `MyScaleSettings` can be set with prefix `MYSCALE_` and is case insensitive. From 3a763b5b77657d29972a9d2860559823e6193834 Mon Sep 17 00:00:00 2001 From: Fangrui Liu Date: Sun, 25 Jun 2023 13:55:26 +0800 Subject: [PATCH 2/2] revised prompted operator names --- langchain/chains/query_constructor/ir.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/langchain/chains/query_constructor/ir.py b/langchain/chains/query_constructor/ir.py index 99d26ce0f7f9f..c7f6581f72a1a 100644 --- a/langchain/chains/query_constructor/ir.py +++ b/langchain/chains/query_constructor/ir.py @@ -75,8 +75,8 @@ class Comparator(str, Enum): GTE = "gte" LT = "lt" LTE = "lte" - CONTAIN = "contain" - LIKE = "like" + CONTAIN = "list_contain" + LIKE = "string_pattern_like" class FilterDirective(Expr, ABC):