├── .env.example ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── documentation.md │ ├── feature_request.md │ └── performance.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── pr-notification.yml │ ├── pre-commit.yml │ └── pypi-release.yml ├── .gitignore ├── .pre-commit-config.yaml ├── README.md ├── cli ├── README.md ├── __init__.py ├── commands │ ├── README.md │ ├── quary.py │ └── run_streamlit.py ├── core │ ├── README.md │ ├── environment.py │ └── streamlit_runner.py └── utils │ ├── README.md │ ├── env_loader.py │ └── logger.py ├── dev ├── create_faiss.py └── create_pgvector.py ├── docker ├── Dockerfile ├── Dockerfile.dockerignore ├── docker-compose-pgvector.yml ├── docker-compose-postgres.yml ├── docker-compose.yml ├── pgvector │ └── init │ │ ├── 001_create_database.sql │ │ └── 002_create_user_and_grant.sql └── postgres │ └── init │ ├── 001_create_database.sql │ └── 002_create_user_and_grant.sql ├── docs ├── branch_guidelines.md ├── pull_request_guidelines.md └── tutorials │ └── getting-started-without-datahub.md ├── engine ├── README.md ├── __init__.py └── query_executor.py ├── infra ├── __init__.py ├── monitoring │ ├── README.md │ ├── __init__.py │ └── check_server.py └── observability │ ├── README.md │ └── token_usage.py ├── interface ├── README.md ├── app_pages │ ├── chatbot.py │ ├── graph_builder.py │ ├── home.py │ ├── lang2sql.py │ ├── settings.py │ ├── settings_sections │ │ ├── README.md │ │ ├── __init__.py │ │ ├── data_source_section.py │ │ ├── db_section.py │ │ └── llm_section.py │ └── sidebar_components │ │ ├── README.md │ │ ├── __init__.py │ │ ├── chatbot_session_controller.py │ │ ├── data_source_selector.py │ │ ├── db_selector.py │ │ ├── embedding_selector.py │ │ └── llm_selector.py ├── core │ ├── config │ │ ├── __init__.py │ │ ├── models.py │ │ ├── paths.py │ │ ├── persist.py │ │ ├── registry_data_sources.py │ │ ├── registry_db.py │ │ ├── registry_llm.py │ │ └── settings.py │ ├── dialects.py │ ├── lang2sql_runner.py │ ├── result_renderer.py │ └── session_utils.py ├── pages_config.py └── streamlit_app.py ├── pgvector.sh ├── poetry.lock ├── prompt ├── __init__.py ├── document_suitability_prompt.md ├── profile_extraction_prompt.md ├── query_enrichment_prompt.md ├── query_maker_prompt.md ├── question_gate_prompt.md └── template_loader.py ├── pyproject.toml ├── test └── test_llm_utils │ └── test_llm_response_parser.py ├── utils ├── data │ ├── README.md │ ├── datahub_services │ │ ├── README.md │ │ ├── __init__.py │ │ ├── base_client.py │ │ ├── glossary_service.py │ │ ├── metadata_service.py │ │ └── query_service.py │ ├── datahub_source.py │ └── queries.py ├── databases │ ├── README.md │ ├── __init__.py │ ├── config.py │ ├── connector │ │ ├── README.md │ │ ├── base_connector.py │ │ ├── clickhouse_connector.py │ │ ├── databricks_connector.py │ │ ├── duckdb_connector.py │ │ ├── mariadb_connector.py │ │ ├── mysql_connector.py │ │ ├── oracle_connector.py │ │ ├── postgres_connector.py │ │ ├── snowflake_connector.py │ │ ├── sqlite_connector.py │ │ └── trino_connector.py │ ├── factory.py │ └── logger.py ├── llm │ ├── README.md │ ├── chains.py │ ├── chatbot.py │ ├── core │ │ ├── README.md │ │ ├── __init__.py │ │ └── factory.py │ ├── graph_utils │ │ ├── README.md │ │ ├── __init__.py │ │ ├── base.py │ │ ├── basic_graph.py │ │ ├── enriched_graph.py │ │ └── profile_utils.py │ ├── llm_response_parser.py │ ├── output_schema │ │ ├── README.md │ │ ├── document_suitability.py │ │ └── question_suitability.py │ ├── retrieval.py │ ├── tools │ │ ├── README.md │ │ ├── __init__.py │ │ ├── chatbot_tool.py │ │ └── datahub.py │ └── vectordb │ │ ├── README.md │ │ ├── __init__.py │ │ ├── factory.py │ │ ├── faiss_db.py │ │ └── pgvector_db.py └── visualization │ ├── README.md │ └── display_chart.py ├── uv.lock └── version.py /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/.env.example -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/documentation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/.github/ISSUE_TEMPLATE/documentation.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/performance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/.github/ISSUE_TEMPLATE/performance.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/pr-notification.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/.github/workflows/pr-notification.yml -------------------------------------------------------------------------------- /.github/workflows/pre-commit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/.github/workflows/pre-commit.yml -------------------------------------------------------------------------------- /.github/workflows/pypi-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/.github/workflows/pypi-release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/README.md -------------------------------------------------------------------------------- /cli/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/cli/README.md -------------------------------------------------------------------------------- /cli/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/cli/__init__.py -------------------------------------------------------------------------------- /cli/commands/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/cli/commands/README.md -------------------------------------------------------------------------------- /cli/commands/quary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/cli/commands/quary.py -------------------------------------------------------------------------------- /cli/commands/run_streamlit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/cli/commands/run_streamlit.py -------------------------------------------------------------------------------- /cli/core/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/cli/core/README.md -------------------------------------------------------------------------------- /cli/core/environment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/cli/core/environment.py -------------------------------------------------------------------------------- /cli/core/streamlit_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/cli/core/streamlit_runner.py -------------------------------------------------------------------------------- /cli/utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/cli/utils/README.md -------------------------------------------------------------------------------- /cli/utils/env_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/cli/utils/env_loader.py -------------------------------------------------------------------------------- /cli/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/cli/utils/logger.py -------------------------------------------------------------------------------- /dev/create_faiss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/dev/create_faiss.py -------------------------------------------------------------------------------- /dev/create_pgvector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/dev/create_pgvector.py -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/Dockerfile.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/docker/Dockerfile.dockerignore -------------------------------------------------------------------------------- /docker/docker-compose-pgvector.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/docker/docker-compose-pgvector.yml -------------------------------------------------------------------------------- /docker/docker-compose-postgres.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/docker/docker-compose-postgres.yml -------------------------------------------------------------------------------- /docker/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/docker/docker-compose.yml -------------------------------------------------------------------------------- /docker/pgvector/init/001_create_database.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/docker/pgvector/init/001_create_database.sql -------------------------------------------------------------------------------- /docker/pgvector/init/002_create_user_and_grant.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/docker/pgvector/init/002_create_user_and_grant.sql -------------------------------------------------------------------------------- /docker/postgres/init/001_create_database.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/docker/postgres/init/001_create_database.sql -------------------------------------------------------------------------------- /docker/postgres/init/002_create_user_and_grant.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/docker/postgres/init/002_create_user_and_grant.sql -------------------------------------------------------------------------------- /docs/branch_guidelines.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/docs/branch_guidelines.md -------------------------------------------------------------------------------- /docs/pull_request_guidelines.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/docs/pull_request_guidelines.md -------------------------------------------------------------------------------- /docs/tutorials/getting-started-without-datahub.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/docs/tutorials/getting-started-without-datahub.md -------------------------------------------------------------------------------- /engine/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/engine/README.md -------------------------------------------------------------------------------- /engine/__init__.py: -------------------------------------------------------------------------------- 1 | """Lang2SQL Data Processing 진입점 패키지""" 2 | -------------------------------------------------------------------------------- /engine/query_executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/engine/query_executor.py -------------------------------------------------------------------------------- /infra/__init__.py: -------------------------------------------------------------------------------- 1 | """인프라 계층 패키지 (DB, 모니터링 등)""" 2 | -------------------------------------------------------------------------------- /infra/monitoring/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/infra/monitoring/README.md -------------------------------------------------------------------------------- /infra/monitoring/__init__.py: -------------------------------------------------------------------------------- 1 | """모니터링/헬스체크 패키지""" 2 | -------------------------------------------------------------------------------- /infra/monitoring/check_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/infra/monitoring/check_server.py -------------------------------------------------------------------------------- /infra/observability/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/infra/observability/README.md -------------------------------------------------------------------------------- /infra/observability/token_usage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/infra/observability/token_usage.py -------------------------------------------------------------------------------- /interface/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/README.md -------------------------------------------------------------------------------- /interface/app_pages/chatbot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/chatbot.py -------------------------------------------------------------------------------- /interface/app_pages/graph_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/graph_builder.py -------------------------------------------------------------------------------- /interface/app_pages/home.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/home.py -------------------------------------------------------------------------------- /interface/app_pages/lang2sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/lang2sql.py -------------------------------------------------------------------------------- /interface/app_pages/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/settings.py -------------------------------------------------------------------------------- /interface/app_pages/settings_sections/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/settings_sections/README.md -------------------------------------------------------------------------------- /interface/app_pages/settings_sections/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/settings_sections/__init__.py -------------------------------------------------------------------------------- /interface/app_pages/settings_sections/data_source_section.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/settings_sections/data_source_section.py -------------------------------------------------------------------------------- /interface/app_pages/settings_sections/db_section.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/settings_sections/db_section.py -------------------------------------------------------------------------------- /interface/app_pages/settings_sections/llm_section.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/settings_sections/llm_section.py -------------------------------------------------------------------------------- /interface/app_pages/sidebar_components/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/sidebar_components/README.md -------------------------------------------------------------------------------- /interface/app_pages/sidebar_components/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/sidebar_components/__init__.py -------------------------------------------------------------------------------- /interface/app_pages/sidebar_components/chatbot_session_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/sidebar_components/chatbot_session_controller.py -------------------------------------------------------------------------------- /interface/app_pages/sidebar_components/data_source_selector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/sidebar_components/data_source_selector.py -------------------------------------------------------------------------------- /interface/app_pages/sidebar_components/db_selector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/sidebar_components/db_selector.py -------------------------------------------------------------------------------- /interface/app_pages/sidebar_components/embedding_selector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/sidebar_components/embedding_selector.py -------------------------------------------------------------------------------- /interface/app_pages/sidebar_components/llm_selector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/app_pages/sidebar_components/llm_selector.py -------------------------------------------------------------------------------- /interface/core/config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/core/config/__init__.py -------------------------------------------------------------------------------- /interface/core/config/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/core/config/models.py -------------------------------------------------------------------------------- /interface/core/config/paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/core/config/paths.py -------------------------------------------------------------------------------- /interface/core/config/persist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/core/config/persist.py -------------------------------------------------------------------------------- /interface/core/config/registry_data_sources.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/core/config/registry_data_sources.py -------------------------------------------------------------------------------- /interface/core/config/registry_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/core/config/registry_db.py -------------------------------------------------------------------------------- /interface/core/config/registry_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/core/config/registry_llm.py -------------------------------------------------------------------------------- /interface/core/config/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/core/config/settings.py -------------------------------------------------------------------------------- /interface/core/dialects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/core/dialects.py -------------------------------------------------------------------------------- /interface/core/lang2sql_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/core/lang2sql_runner.py -------------------------------------------------------------------------------- /interface/core/result_renderer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/core/result_renderer.py -------------------------------------------------------------------------------- /interface/core/session_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/core/session_utils.py -------------------------------------------------------------------------------- /interface/pages_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/pages_config.py -------------------------------------------------------------------------------- /interface/streamlit_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/interface/streamlit_app.py -------------------------------------------------------------------------------- /pgvector.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/pgvector.sh -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/poetry.lock -------------------------------------------------------------------------------- /prompt/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prompt/document_suitability_prompt.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/prompt/document_suitability_prompt.md -------------------------------------------------------------------------------- /prompt/profile_extraction_prompt.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/prompt/profile_extraction_prompt.md -------------------------------------------------------------------------------- /prompt/query_enrichment_prompt.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/prompt/query_enrichment_prompt.md -------------------------------------------------------------------------------- /prompt/query_maker_prompt.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/prompt/query_maker_prompt.md -------------------------------------------------------------------------------- /prompt/question_gate_prompt.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/prompt/question_gate_prompt.md -------------------------------------------------------------------------------- /prompt/template_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/prompt/template_loader.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/pyproject.toml -------------------------------------------------------------------------------- /test/test_llm_utils/test_llm_response_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/test/test_llm_utils/test_llm_response_parser.py -------------------------------------------------------------------------------- /utils/data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/data/README.md -------------------------------------------------------------------------------- /utils/data/datahub_services/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/data/datahub_services/README.md -------------------------------------------------------------------------------- /utils/data/datahub_services/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/data/datahub_services/__init__.py -------------------------------------------------------------------------------- /utils/data/datahub_services/base_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/data/datahub_services/base_client.py -------------------------------------------------------------------------------- /utils/data/datahub_services/glossary_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/data/datahub_services/glossary_service.py -------------------------------------------------------------------------------- /utils/data/datahub_services/metadata_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/data/datahub_services/metadata_service.py -------------------------------------------------------------------------------- /utils/data/datahub_services/query_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/data/datahub_services/query_service.py -------------------------------------------------------------------------------- /utils/data/datahub_source.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/data/datahub_source.py -------------------------------------------------------------------------------- /utils/data/queries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/data/queries.py -------------------------------------------------------------------------------- /utils/databases/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/README.md -------------------------------------------------------------------------------- /utils/databases/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/__init__.py -------------------------------------------------------------------------------- /utils/databases/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/config.py -------------------------------------------------------------------------------- /utils/databases/connector/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/connector/README.md -------------------------------------------------------------------------------- /utils/databases/connector/base_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/connector/base_connector.py -------------------------------------------------------------------------------- /utils/databases/connector/clickhouse_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/connector/clickhouse_connector.py -------------------------------------------------------------------------------- /utils/databases/connector/databricks_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/connector/databricks_connector.py -------------------------------------------------------------------------------- /utils/databases/connector/duckdb_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/connector/duckdb_connector.py -------------------------------------------------------------------------------- /utils/databases/connector/mariadb_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/connector/mariadb_connector.py -------------------------------------------------------------------------------- /utils/databases/connector/mysql_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/connector/mysql_connector.py -------------------------------------------------------------------------------- /utils/databases/connector/oracle_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/connector/oracle_connector.py -------------------------------------------------------------------------------- /utils/databases/connector/postgres_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/connector/postgres_connector.py -------------------------------------------------------------------------------- /utils/databases/connector/snowflake_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/connector/snowflake_connector.py -------------------------------------------------------------------------------- /utils/databases/connector/sqlite_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/connector/sqlite_connector.py -------------------------------------------------------------------------------- /utils/databases/connector/trino_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/connector/trino_connector.py -------------------------------------------------------------------------------- /utils/databases/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/factory.py -------------------------------------------------------------------------------- /utils/databases/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/databases/logger.py -------------------------------------------------------------------------------- /utils/llm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/README.md -------------------------------------------------------------------------------- /utils/llm/chains.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/chains.py -------------------------------------------------------------------------------- /utils/llm/chatbot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/chatbot.py -------------------------------------------------------------------------------- /utils/llm/core/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/core/README.md -------------------------------------------------------------------------------- /utils/llm/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/core/__init__.py -------------------------------------------------------------------------------- /utils/llm/core/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/core/factory.py -------------------------------------------------------------------------------- /utils/llm/graph_utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/graph_utils/README.md -------------------------------------------------------------------------------- /utils/llm/graph_utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/graph_utils/__init__.py -------------------------------------------------------------------------------- /utils/llm/graph_utils/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/graph_utils/base.py -------------------------------------------------------------------------------- /utils/llm/graph_utils/basic_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/graph_utils/basic_graph.py -------------------------------------------------------------------------------- /utils/llm/graph_utils/enriched_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/graph_utils/enriched_graph.py -------------------------------------------------------------------------------- /utils/llm/graph_utils/profile_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/graph_utils/profile_utils.py -------------------------------------------------------------------------------- /utils/llm/llm_response_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/llm_response_parser.py -------------------------------------------------------------------------------- /utils/llm/output_schema/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/output_schema/README.md -------------------------------------------------------------------------------- /utils/llm/output_schema/document_suitability.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/output_schema/document_suitability.py -------------------------------------------------------------------------------- /utils/llm/output_schema/question_suitability.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/output_schema/question_suitability.py -------------------------------------------------------------------------------- /utils/llm/retrieval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/retrieval.py -------------------------------------------------------------------------------- /utils/llm/tools/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/tools/README.md -------------------------------------------------------------------------------- /utils/llm/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/tools/__init__.py -------------------------------------------------------------------------------- /utils/llm/tools/chatbot_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/tools/chatbot_tool.py -------------------------------------------------------------------------------- /utils/llm/tools/datahub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/tools/datahub.py -------------------------------------------------------------------------------- /utils/llm/vectordb/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/vectordb/README.md -------------------------------------------------------------------------------- /utils/llm/vectordb/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/vectordb/__init__.py -------------------------------------------------------------------------------- /utils/llm/vectordb/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/vectordb/factory.py -------------------------------------------------------------------------------- /utils/llm/vectordb/faiss_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/vectordb/faiss_db.py -------------------------------------------------------------------------------- /utils/llm/vectordb/pgvector_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/llm/vectordb/pgvector_db.py -------------------------------------------------------------------------------- /utils/visualization/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/visualization/README.md -------------------------------------------------------------------------------- /utils/visualization/display_chart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/utils/visualization/display_chart.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/uv.lock -------------------------------------------------------------------------------- /version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInferenceLab/Lang2SQL/HEAD/version.py --------------------------------------------------------------------------------