The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community: refactor opensearch query constructor to use wildcard instead of match in the contain comparator (#26653)
André Quintinoa26c786bc5fc
diff --git a/libs/community/langchain_community/query_constructors/opensearch.py b/libs/community/langchain_community/query_constructors/opensearch.pyindex e01ec66639..8b5f23a80c 100644--- a/libs/community/langchain_community/query_constructors/opensearch.py+++ b/libs/community/langchain_community/query_constructors/opensearch.py@@ -36,7 +36,7 @@ class OpenSearchTranslator(Visitor):Comparator.LTE: "lte",Comparator.GT: "gt",Comparator.GTE: "gte",- Comparator.CONTAIN: "match",+ Comparator.CONTAIN: "wildcard",Comparator.LIKE: "fuzzy",Operator.AND: "must",Operator.OR: "should",