Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New samples: Natural Language 2 SQL guide. #1297

Open
wants to merge 38 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
92fbccc
initial commit
ganochenkodg May 16, 2024
2557ed3
add python clinet
ganochenkodg May 16, 2024
54d2362
updates
ganochenkodg May 16, 2024
27c23a4
add script updates
ganochenkodg May 16, 2024
cf33ea2
add script updates
ganochenkodg May 16, 2024
a109c7c
add script updates
ganochenkodg May 16, 2024
9476cde
updates
ganochenkodg May 20, 2024
601365b
update
ganochenkodg May 20, 2024
44ce1f0
updates
ganochenkodg May 21, 2024
1bf7280
update script
ganochenkodg May 21, 2024
473460e
updates
ganochenkodg May 23, 2024
fdc4d6a
update tags
ganochenkodg May 23, 2024
a4f2a08
notebook update
ganochenkodg May 23, 2024
437dcfa
notebook quickfix
ganochenkodg May 27, 2024
c2964ca
terraform added
BRV158 May 28, 2024
9ba7429
remove debug lines from notebook
ganochenkodg May 28, 2024
0cdaf9b
fix ci checks
ganochenkodg May 29, 2024
be60bc4
terraform edits
BRV158 Jun 3, 2024
3bf9a56
update postgres yaml
ganochenkodg Jun 3, 2024
f4b0bbb
GPU pool fix
BRV158 Jun 3, 2024
fc62d44
ephemeral storage limits edited
BRV158 Jun 3, 2024
288f570
update tgi deployment strategy
ganochenkodg Jun 3, 2024
8af9b53
Merge branch 'main' into nl-to-sql
ganochenkodg Jun 4, 2024
56b6c05
Merge branch 'main' into nl-to-sql
ganochenkodg Jun 7, 2024
989e45b
Merge branch 'main' into nl-to-sql
ganochenkodg Jun 11, 2024
dfca785
Merge branch 'main' into nl-to-sql
ganochenkodg Jun 12, 2024
892576e
add terraforkm ci
ganochenkodg Jun 13, 2024
96ce1e0
Merge branch 'main' into nl-to-sql
ganochenkodg Jun 20, 2024
e718670
Merge branch 'main' into nl-to-sql
ganochenkodg Jul 18, 2024
d00cfe2
Merge branch 'main' into nl-to-sql
ganochenkodg Jul 23, 2024
9bb94e2
updates
ganochenkodg Jul 19, 2024
a435433
updates
ganochenkodg Jul 23, 2024
7c0bad3
finish the update
ganochenkodg Jul 24, 2024
fa24d4b
cleanup
ganochenkodg Jul 24, 2024
9ea9679
small update
ganochenkodg Jul 25, 2024
7d5598c
Merge branch 'main' into nl-to-sql
ganochenkodg Jul 25, 2024
10ffa4f
Merge branch 'main' into nl-to-sql
ganochenkodg Aug 6, 2024
c22e6c0
Merge branch 'main' into nl-to-sql
ganochenkodg Dec 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/ai-ml-nl-to-sql-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ai-ml-nl-to-sql-ci
on:
push:
branches:
- main
paths:
- '.github/workflows/ai-ml-nl-to-sql-ci.yml'
- 'ai-ml/nl-to-sql/**'
pull_request:
paths:
- '.github/workflows/ai-ml-nl-to-sql-ci.yml'
- 'ai-ml/nl-to-sql/**'
jobs:
job:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Validate terraform autopilot
run: |
cd ai-ml/nl-to-sql/terraform/gke-autopilot
terraform init
terraform validate
- name: Validate terraform standard
run: |
cd ai-ml/nl-to-sql/terraform/gke-standard
terraform init
terraform validate

51 changes: 51 additions & 0 deletions ai-ml/nl-to-sql/dataset/customers.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
CustomerID,Name,Gender,Age
1,James,M,34
2,Patricia,F,26
3,Michael,M,50
4,Robert,M,37
5,John,M,30
6,Jennifer,F,45
7,William,M,46
8,David,M,30
9,Richard,M,63
10,Linda,F,52
11,Joseph,M,23
12,Thomas,M,35
13,Christopher,M,22
14,Charles,M,64
15,Elizabeth,F,42
16,Daniel,M,19
17,Barbara,F,27
18,Susan,F,47
19,Jessica,F,62
20,Matthew,M,22
21,Karen,F,50
22,Anthony,M,18
23,Sarah,F,35
24,Lisa,F,49
25,Nancy,F,64
26,Sandra,F,28
27,Betty,F,38
28,Ashley,F,43
29,Kimberly,F,42
30,Margaret,F,39
31,Mark,M,44
32,Steven,M,30
33,Donna,F,50
34,Michelle,F,51
35,Carol,F,58
36,Andrew,M,52
37,Melissa,F,18
38,Paul,M,38
39,Kevin,M,23
40,Brian,M,45
41,George,M,34
42,Jason,M,22
43,Rebecca,F,48
44,Sharon,F,22
45,Laura,F,55
46,Amy,F,20
47,Angela,F,40
48,Edward,M,54
49,Emma,F,54
50,Brenda,F,27
Loading