💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows
Python agentsaiai-agentsembeddingsinformation-retrievallanguage-modellarge-language-modelsllmnlppythonragretrieval-augmented-generationsearchsearch-enginesemantic-searchsentence-embeddingstransformerstxtaivector-databasevector-search
Update comment
davidmezzettic402b129d9fe
diff --git a/src/python/txtai/database/sql/base.py b/src/python/txtai/database/sql/base.pyindex 439f18b1..0fd8e75e 100644--- a/src/python/txtai/database/sql/base.py+++ b/src/python/txtai/database/sql/base.py@@ -94,7 +94,7 @@ class SQL:True if this is a valid SQL query, False otherwise"""- # Reduce query to a single line, lower-cased and stripped of leading/trailing whitespace+ # Reduce query to a lower-cased single line stripped of leading/trailing whitespacequery = query.lower().strip(";").replace("\n", " ").replace("\t", " ").strip()# Detect if this is a valid txtai SQL statement