Skip to content

Refactor API and Schema Handling#51

Merged
fkalpana merged 1 commit into
mainfrom
version-2
May 5, 2026
Merged

Refactor API and Schema Handling#51
fkalpana merged 1 commit into
mainfrom
version-2

Conversation

@Hyrin-mansoor
Copy link
Copy Markdown
Collaborator

  • Updated SYSTEM_FIELDS and EXCLUDED_FIELDTYPES in auto_gen_api.py for better field management.
  • Introduced clean_schema function in build_cards_faiss_index_v2.py to filter out generic fields from schema.
  • Enhanced schema validation in schema_utils.py to ensure only valid tables and fields are processed.
  • Improved prompt clarity and structure in sql_prompt.txt for better query generation.
  • Added load_on_startup function in text2sql_pipeline_v2.py to streamline component initialization.
  • Adjusted doc_events in hooks.py to include load_on_startup for pre-request setup.
  • Various binary files updated to reflect changes in schema and embeddings.

- Updated SYSTEM_FIELDS and EXCLUDED_FIELDTYPES in auto_gen_api.py for better field management.
- Introduced clean_schema function in build_cards_faiss_index_v2.py to filter out generic fields from schema.
- Enhanced schema validation in schema_utils.py to ensure only valid tables and fields are processed.
- Improved prompt clarity and structure in sql_prompt.txt for better query generation.
- Added load_on_startup function in text2sql_pipeline_v2.py to streamline component initialization.
- Adjusted doc_events in hooks.py to include load_on_startup for pre-request setup.
- Various binary files updated to reflect changes in schema and embeddings.
@fkalpana fkalpana merged commit b2dd340 into main May 5, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants