You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current implementation uses SQL agent to generate SQL statement when provided with user query. This is inconsistent and it is difficult to railguard the response. To prevent this, create a SQLTemplateMatcher as base class which will have following base classes
FuzzySQLTemplateMatcher : Rule based query to SQL statement
LLMBasedSQLTemplateMatcher : LLM based query to SQL template matcher with entity extraction
Description
Current implementation uses SQL agent to generate SQL statement when provided with user query. This is inconsistent and it is difficult to railguard the response. To prevent this, create a
SQLTemplateMatcher
as base class which will have following base classesFuzzySQLTemplateMatcher
: Rule based query to SQL statementLLMBasedSQLTemplateMatcher
: LLM based query to SQL template matcher with entity extractionRefer to this boilerplate for base class:
The constructor could take: table schema, sql templates
Deliverables
Tasks
The text was updated successfully, but these errors were encountered: