Skip to content

Commit 9ebb4d4

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/frontend/multi-ceff1a497b
2 parents eb9840c + 8640f22 commit 9ebb4d4

19 files changed

Lines changed: 704 additions & 609 deletions

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</p>
66
<p align="center">
77
<a href="https://sites.google.com/corp/google.com/genai-solutions/home?authuser=0">
8-
<img src="utilities/imgs/opendataqna.png" alt="logo" width="400" height="auto">
8+
<img src="utilities/imgs/opendataqna_logo.png" alt="logo" width="400" height="auto">
99
</a>
1010
</p>
1111
<h1 align="center">Open Data QnA - Chat with your SQL Database</h1>
@@ -24,6 +24,8 @@ The **Open Data QnA** python library enables you to chat with your databases by
2424

2525
Open Data QnA enables a conversational approach to interacting with your data. Ask questions about your PostgreSQL or BigQuery databases in natural language and receive informative responses, without needing to write SQL. Open Data QnA leverages Large Language Models (LLMs) to bridge the gap between human language and database queries, streamlining data analysis and decision-making.
2626

27+
![Alt Text](utilities/imgs/Teaser.gif)
28+
2729
**Key Features:**
2830

2931
* **Conversational Querying with Multiturn Support:** Ask questions naturally, without requiring SQL knowledge and ask follow up questions.
@@ -96,7 +98,7 @@ This notebook offers a streamlined way to experience the core functionality of O
9698

9799
### 🚧 **Prerequisites**
98100

99-
Make sure that Google Cloud CLI and Python are installed before moving ahead! You can refer to the link below for guidance
101+
Make sure that Google Cloud CLI and Python >= 3.10 are installed before moving ahead! You can refer to the link below for guidance
100102

101103
Installation Guide: https://cloud.google.com/sdk/docs/install
102104

@@ -444,7 +446,22 @@ It also contains code derived from the following third-party packages:
444446

445447
* [pandas](<https://pandas.pydata.org/>)
446448
* [Python](<https://www.python.org/>)
449+
450+
451+
🧪 Disclaimer
452+
----------
453+
454+
This repository provides an open-source solution accelerator designed to streamline your development process. Please be aware that all resources associated with this accelerator will be deployed within your own Google Cloud Platform (GCP) instances.
455+
456+
It is imperative that you thoroughly test all components and configurations in a non-production environment before integrating any part of this accelerator with your production data or systems.
457+
458+
While we strive to provide a secure and reliable solution, we cannot be held responsible for any data loss, service disruptions, or other issues that may arise from the use of this accelerator.
459+
460+
By utilizing this repository, you acknowledge that you are solely responsible for the deployment, management, and security of the resources deployed within your GCP environment.
461+
462+
If you encounter any issues or have concerns about potential risks, please refrain from using this accelerator in a production setting.
447463

464+
We encourage responsible and informed use of this open-source solution.
448465

449466

450467
🙋 Getting Help

config.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ debugging = yes
66
logging = yes
77
kgq_examples = yes
88
firestore_region = us-central1
9+
use_session_history = yes
910
use_column_samples = no
1011

1112
[GCP]
-1.05 MB
Binary file not shown.

docs/config_guide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ ______________
1616

1717
**kgq_examples = yes** *;if known-good-queries are provided. yes or no.*
1818

19+
**use_session_history = yes** *;if you want to use current session's questions without re-evaluating them*
20+
1921
**use_column_samples = yes** *;if you want the solution to collect some samples values from the data source columns to imporve understanding of values. yes or no*
2022

2123
**[GCP]**

frontend/frontend-flutter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<p align="center">
44
<a>
5-
<img src="readme_images/ttmd_logo1.png" alt="aaie image">
5+
<img src="readme_images/opendataqna_logo.png" alt="aaie image" width="300">
66
</a>
77
</p>
88

348 KB
Loading

frontend/package-lock.json

Lines changed: 80 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"bootstrap": "^5.3.2",
2929
"chart.js": "^4.4.1",
3030
"deps": "^1.0.0",
31-
"express": "^4.20.0",
31+
"express": "^4.21.1",
3232
"firebase": "^10.12.2",
3333
"ng2-charts": "^5.0.4",
3434
"prismjs": "^1.29.0",

frontend/src/assets/constants.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
export const firebaseConfig = {
2-
"projectId": "three-p-o",
3-
"appId": "1:978842762722:web:28dfe1566ef70484414dbb",
4-
"storageBucket": "three-p-o.appspot.com",
5-
"apiKey": "AIzaSyB-N-AhvSuo21ftLrl9ObX5kbZfOoDRX8c",
6-
"authDomain": "three-p-o.firebaseapp.com",
7-
"messagingSenderId": "978842762722"
2+
"projectId": "",
3+
"appId": "",
4+
"storageBucket": "",
5+
"apiKey": "",
6+
"authDomain": "",
7+
"messagingSenderId": ""
88
};
99
export const ENDPOINT_OPENDATAQNA = 'https://opendataqna-kdr33rftkq-uc.a.run.app'
1010

0 commit comments

Comments
 (0)