fix: rename sql_query to sqlite_query for consistency in SQLQueryExtractor and update references in DataExtractorService and PydanticAgent
cdcf836
Aryan Jaincommited on
fix: correct method signature for _model_schema_to_text; update OpenAI model name and fix parameter naming in PydanticAgent; enhance SQL query verification with logging and error handling
71dcc32
Aryan Jaincommited on
feat: refactor PydanticAgent to accept user_input and message_history as parameters in run method; update DataExtractorService to match new signature
f9fd577
Aryan Jaincommited on
feat: update SQL query execution to use text() for improved safety and consistency
3bdece0
Aryan Jaincommited on
feat: enhance SQL query generation and validation; add detailed descriptions to Pydantic models and enforce SELECT-only rule in query verification
53d3e55
Aryan Jaincommited on
feat: rename QueryExtractor to SQLQueryExtractor and update related imports; introduce SQL_QUERY_EXTRACTOR_PROMPT in PydanticAgent
83e6c59
Aryan Jaincommited on
feat: Update DataExtractorController and DataExtractorService to use Optional for message_history; add __init__.py for prompts module; modify Pydantic models to use Optional for list fields; raise exceptions in PydanticAgent
8e073b5
Aryan Jaincommited on
feat: Add Pydantic models for query extraction and implement PydanticAgent for SQL query verification