gitextract_yfzkgoxq/ ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── MANIFEST.in ├── OWNERS ├── README.md ├── SECURITY.md ├── agents/ │ ├── BuildSQLAgent.py │ ├── DebugSQLAgent.py │ ├── DescriptionAgent.py │ ├── EmbedderAgent.py │ ├── ResponseAgent.py │ ├── ValidateSQLAgent.py │ ├── VisualizeAgent.py │ ├── __init__.py │ └── core.py ├── app.py ├── backend-apis/ │ ├── README.md │ ├── __init__.py │ ├── main.py │ └── policy.yaml ├── config.ini ├── dbconnectors/ │ ├── BQConnector.py │ ├── FirestoreConnector.py │ ├── PgConnector.py │ ├── __init__.py │ └── core.py ├── docs/ │ ├── README.md │ ├── architecture.md │ ├── best_practices.md │ ├── changelog.md │ ├── config_guide.md │ ├── faq.md │ └── repo_structure.md ├── embeddings/ │ ├── __init__.py │ ├── kgq_embeddings.py │ ├── retrieve_embeddings.py │ └── store_embeddings.py ├── env_setup.py ├── frontend/ │ ├── .gitignore │ ├── README.md │ ├── angular.json │ ├── database.indexes.json │ ├── database.rules.json │ ├── firebase_setup.json │ ├── frontend-flutter/ │ │ ├── .flutter-plugins │ │ ├── .flutter-plugins-dependencies │ │ ├── Open Data QnA - Working Sheet V2 - sample_questions_UI copy.csv │ │ ├── Open_Data_QnA_sample_questions_v3 copy.csv │ │ ├── README.md │ │ ├── analysis_options.yaml │ │ ├── android/ │ │ │ ├── .gitignore │ │ │ ├── app/ │ │ │ │ ├── build.gradle │ │ │ │ ├── google-services.json │ │ │ │ └── src/ │ │ │ │ ├── debug/ │ │ │ │ │ └── AndroidManifest.xml │ │ │ │ ├── main/ │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ ├── kotlin/ │ │ │ │ │ │ └── com/ │ │ │ │ │ │ └── pilotcap/ │ │ │ │ │ │ └── ttmd/ │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ │ └── res/ │ │ │ │ │ ├── drawable/ │ │ │ │ │ │ └── launch_background.xml │ │ │ │ │ ├── drawable-v21/ │ │ │ │ │ │ └── launch_background.xml │ │ │ │ │ ├── values/ │ │ │ │ │ │ └── styles.xml │ │ │ │ │ └── values-night/ │ │ │ │ │ └── styles.xml │ │ │ │ └── profile/ │ │ │ │ └── AndroidManifest.xml │ │ │ ├── build.gradle │ │ │ ├── gradle/ │ │ │ │ └── wrapper/ │ │ │ │ └── gradle-wrapper.properties │ │ │ ├── gradle.properties │ │ │ ├── nl2sql_oss_android.iml │ │ │ └── settings.gradle │ │ ├── build/ │ │ │ └── web/ │ │ │ └── .last_build_id │ │ ├── ios/ │ │ │ ├── .gitignore │ │ │ ├── Flutter/ │ │ │ │ ├── AppFrameworkInfo.plist │ │ │ │ ├── Debug.xcconfig │ │ │ │ └── Release.xcconfig │ │ │ ├── Podfile │ │ │ ├── Runner/ │ │ │ │ ├── AppDelegate.swift │ │ │ │ ├── Assets.xcassets/ │ │ │ │ │ ├── AppIcon.appiconset/ │ │ │ │ │ │ └── Contents.json │ │ │ │ │ └── LaunchImage.imageset/ │ │ │ │ │ ├── Contents.json │ │ │ │ │ └── README.md │ │ │ │ ├── Base.lproj/ │ │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ │ └── Main.storyboard │ │ │ │ ├── GoogleService-Info.plist │ │ │ │ ├── Info.plist │ │ │ │ └── Runner-Bridging-Header.h │ │ │ ├── Runner.xcodeproj/ │ │ │ │ ├── project.pbxproj │ │ │ │ ├── project.xcworkspace/ │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ └── xcshareddata/ │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ │ └── xcshareddata/ │ │ │ │ └── xcschemes/ │ │ │ │ └── Runner.xcscheme │ │ │ ├── Runner.xcworkspace/ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata/ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── RunnerTests/ │ │ │ └── RunnerTests.swift │ │ ├── lib/ │ │ │ ├── firebase_options.dart │ │ │ ├── main.dart │ │ │ ├── screens/ │ │ │ │ ├── bot.dart │ │ │ │ ├── bot_chat_view.dart │ │ │ │ ├── disclaimer.dart │ │ │ │ └── settings.dart │ │ │ ├── services/ │ │ │ │ ├── display_stepper/ │ │ │ │ │ ├── display_stepper_cubit.dart │ │ │ │ │ └── display_stepper_state.dart │ │ │ │ ├── first_question/ │ │ │ │ │ ├── first_question_cubit.dart │ │ │ │ │ └── first_question_state.dart │ │ │ │ ├── load_question/ │ │ │ │ │ ├── load_question_cubit.dart │ │ │ │ │ └── load_question_state.dart │ │ │ │ ├── new_suggestions/ │ │ │ │ │ ├── new_suggestion_cubit.dart │ │ │ │ │ └── new_suggestion_state.dart │ │ │ │ ├── text_to_doc_question/ │ │ │ │ │ ├── text_to_doc_question_cubit.dart │ │ │ │ │ └── text_to_doc_question_state.dart │ │ │ │ ├── update_expert_mode/ │ │ │ │ │ ├── update_expert_mode_cubit.dart │ │ │ │ │ └── update_expert_mode_state.dart │ │ │ │ ├── update_popular_questions/ │ │ │ │ │ ├── update_popular_questions_cubit.dart │ │ │ │ │ └── update_popular_questions_state.dart │ │ │ │ └── update_stepper/ │ │ │ │ ├── update_stepper_cubit.dart │ │ │ │ └── update_stepper_state.dart │ │ │ └── utils/ │ │ │ ├── Input_custom.dart │ │ │ ├── TextToDocParameter.dart │ │ │ ├── custom_input_field.dart │ │ │ ├── most_popular_questions.dart │ │ │ ├── pdf_viewer.dart │ │ │ ├── stepper_expert_info.dart │ │ │ └── tabbed_container.dart │ │ ├── nl2sql_oss.iml │ │ ├── pubspec.yaml │ │ ├── test/ │ │ │ └── widget_test.dart │ │ └── web/ │ │ ├── index 01.49.28.html │ │ ├── index.html │ │ └── manifest.json │ ├── frontend.yaml │ ├── package.json │ ├── server.ts │ ├── src/ │ │ ├── app/ │ │ │ ├── agent-chat/ │ │ │ │ ├── agent-chat.component.html │ │ │ │ ├── agent-chat.component.scss │ │ │ │ ├── agent-chat.component.spec.ts │ │ │ │ └── agent-chat.component.ts │ │ │ ├── app-routing.module.ts │ │ │ ├── app.component.html │ │ │ ├── app.component.scss │ │ │ ├── app.component.spec.ts │ │ │ ├── app.component.ts │ │ │ ├── app.module.server.ts │ │ │ ├── app.module.ts │ │ │ ├── business-user/ │ │ │ │ ├── business-user.component.html │ │ │ │ ├── business-user.component.scss │ │ │ │ ├── business-user.component.spec.ts │ │ │ │ └── business-user.component.ts │ │ │ ├── grouping-modal/ │ │ │ │ ├── grouping-modal.component.html │ │ │ │ ├── grouping-modal.component.scss │ │ │ │ ├── grouping-modal.component.spec.ts │ │ │ │ └── grouping-modal.component.ts │ │ │ ├── header/ │ │ │ │ ├── header.component.html │ │ │ │ ├── header.component.scss │ │ │ │ ├── header.component.spec.ts │ │ │ │ └── header.component.ts │ │ │ ├── home/ │ │ │ │ ├── home.component.html │ │ │ │ ├── home.component.scss │ │ │ │ ├── home.component.spec.ts │ │ │ │ └── home.component.ts │ │ │ ├── http.interceptor.ts │ │ │ ├── login/ │ │ │ │ ├── login.component.html │ │ │ │ ├── login.component.scss │ │ │ │ ├── login.component.spec.ts │ │ │ │ └── login.component.ts │ │ │ ├── login-button/ │ │ │ │ ├── login-button.component.html │ │ │ │ ├── login-button.component.scss │ │ │ │ ├── login-button.component.spec.ts │ │ │ │ └── login-button.component.ts │ │ │ ├── menu/ │ │ │ │ ├── menu.component.html │ │ │ │ ├── menu.component.scss │ │ │ │ ├── menu.component.spec.ts │ │ │ │ └── menu.component.ts │ │ │ ├── prism/ │ │ │ │ ├── prism.component.html │ │ │ │ ├── prism.component.scss │ │ │ │ ├── prism.component.spec.ts │ │ │ │ ├── prism.component.ts │ │ │ │ └── prism.d.ts │ │ │ ├── scenario-list/ │ │ │ │ ├── scenario-list.component.html │ │ │ │ ├── scenario-list.component.scss │ │ │ │ ├── scenario-list.component.spec.ts │ │ │ │ └── scenario-list.component.ts │ │ │ ├── shared/ │ │ │ │ └── services/ │ │ │ │ ├── chat.service.spec.ts │ │ │ │ ├── chat.service.ts │ │ │ │ ├── home.service.spec.ts │ │ │ │ ├── home.service.ts │ │ │ │ ├── login.service.spec.ts │ │ │ │ ├── login.service.ts │ │ │ │ ├── shared.service.spec.ts │ │ │ │ └── shared.service.ts │ │ │ ├── upload-template/ │ │ │ │ ├── upload-template.component.html │ │ │ │ ├── upload-template.component.scss │ │ │ │ ├── upload-template.component.spec.ts │ │ │ │ └── upload-template.component.ts │ │ │ ├── user-journey/ │ │ │ │ ├── user-journey.component.html │ │ │ │ ├── user-journey.component.scss │ │ │ │ ├── user-journey.component.spec.ts │ │ │ │ └── user-journey.component.ts │ │ │ └── user-photo/ │ │ │ ├── user-photo.component.html │ │ │ ├── user-photo.component.scss │ │ │ ├── user-photo.component.spec.ts │ │ │ └── user-photo.component.ts │ │ ├── assets/ │ │ │ ├── .gitkeep │ │ │ └── constants.ts │ │ ├── index.html │ │ ├── main.server.ts │ │ ├── main.ts │ │ ├── styles/ │ │ │ └── variables.scss │ │ └── styles.scss │ ├── tsconfig.app.json │ ├── tsconfig.json │ └── tsconfig.spec.json ├── notebooks/ │ ├── 0_CopyDataToBigQuery.ipynb │ ├── 0_CopyDataToCloudSqlPG.ipynb │ ├── 1_Setup_OpenDataQnA.ipynb │ ├── 2_Run_OpenDataQnA.ipynb │ └── 3_LoadKnownGoodSQL.ipynb ├── opendataqna.py ├── prompts.yaml ├── pyproject.toml ├── scripts/ │ ├── .~lock.Scenarios Sample.csv# │ ├── Scenarios Sample.csv │ ├── __init__.py │ ├── copy_select_table_column_bigquery.py │ ├── data_source_list.csv │ ├── data_source_list_sample.csv │ ├── known_good_sql.csv │ ├── save_config.py │ └── tables_columns_descriptions.csv ├── terraform/ │ ├── .gitignore │ ├── README.md │ ├── backend.tf │ ├── bq.tf │ ├── embeddings-setup.tf │ ├── frontend.tf │ ├── iam.tf │ ├── locals.tf │ ├── main.tf │ ├── outputs.tf │ ├── pg-vector.tf │ ├── scripts/ │ │ ├── backend-deployment.sh │ │ ├── copy-firebase-json.sh │ │ ├── create-and-store-embeddings.py │ │ ├── deploy-all.sh │ │ ├── execute-gcloud-cmd.sh │ │ ├── execute-python-files.sh │ │ ├── frontend-deployment.sh │ │ └── install-dependencies.sh │ ├── templates/ │ │ ├── config.ini.tftpl │ │ └── constants.ts.tftpl │ ├── terraform.tfvars.sample │ ├── variables.tf │ └── versions.tf └── utilities/ ├── __init__.py └── imgs/ └── aa