Skip to content

Commit f9a5c0a

Browse files
committed
Merge changes for v0.3 release (#25)
## What's Changed This is a huge release 🚀 Main features: - Multimodal image input column: Now you can insert an image alongside text as input to LLMs - OSS now supports multiple projects: You are now able to create projects to manage your tables and files - Added ability to turn any column into multi-turn chat via the `multi_turn` parameter in `LLMGenConfig` - Added default prompts when creating Generative Tables: Setup time from table creation to running worlflows is now even shorter. - Added support for templates: We will progresively add more templates that showcase various use cases - Support for search query when listing projects, tables, rows - Table and project import and export - Various improvements to backend and frontend There are several breaking changes and deprecations as well, some highlights are listed here, see CHANGELOG for a complete list: - Added `version` and `meta` to table metadata. Please run the provided migration script to upgrade your existing DB files. - Delete endpoints will return 404 if resource is not found - `/v1/gen_tables/{table_type}/{table_id}/thread` has one new required query parameter: `column_id` - Table list endpoint now defaults to not counting table rows - Output columns must be string type - Deprecations: - Endpoint `/v1/gen_tables/{table_type}/duplicate/{table_id_src}/{table_id_dst}` ## New Contributors * @zec0816 * @Hoipang ## Contributors * @deafnv * @haoshan98 * @kamil-hassan201 * @noobHappylife * @jiahuei ## Full Changelog v0.2...v0.3
1 parent 6f65876 commit f9a5c0a

465 files changed

Lines changed: 57879 additions & 20020 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env renamed to .env.example

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,28 @@ OPENAI_API_KEY=
33
ANTHROPIC_API_KEY=
44
COHERE_API_KEY=
55
TOGETHER_API_KEY=
6+
HYPERBOLIC_API_KEY=
7+
CEREBRAS_API_KEY=
8+
SAMBANOVA_API_KEY=
69

710
# Service URLs
811
DOCIO_URL=http://docio:6979/api/docio
912
UNSTRUCTUREDIO_URL=http://unstructuredio:6989
13+
JAMAI_API_BASE=http://owl:6969/api
14+
15+
# Frontend config
16+
JAMAI_URL=http://owl:6969
17+
PUBLIC_JAMAI_URL=
18+
PUBLIC_IS_SPA=false
19+
CHECK_ORIGIN=false
1020

1121
# Configuration
1222
OWL_PORT=6969
13-
OWL_WORKERS=1
14-
OWL_DB_DIR=db
15-
OWL_LOG_DIR=logs
23+
OWL_WORKERS=3
1624
DOCIO_WORKERS=1
1725
DOCIO_DEVICE=cpu
1826
EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
1927
RERANKER_MODEL=cross-encoder/ms-marco-TinyBERT-L-2
20-
OWL_CONCURRENT_ROWS_BATCH_SIZE=3
21-
OWL_CONCURRENT_COLS_BATCH_SIZE=5
28+
OWL_CONCURRENT_ROWS_BATCH_SIZE=5
29+
OWL_CONCURRENT_COLS_BATCH_SIZE=5
30+
OWL_MAX_WRITE_BATCH_SIZE=1000

.flake8

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ select = C,E,F,W,B,B950
44
extend-ignore = E203,E402,E501,F541,W503,F401
55
extend-exclude =
66
.vscode/,
7+
__ref__/
78
archive/,
89
build/,
9-
configs/,
10+
clients/typescript/,
1011
dependencies/,
12+
services/app/,
1113
venv/,
1214
**/dist
1315
**/build

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,6 @@
5454
# These files should not be processed by Linguist for language detection on GitHub.com
5555
*.p linguist-detectable=false
5656
*.gz linguist-detectable=false
57+
58+
# Track with Git LFS
59+
*.parquet filter=lfs diff=lfs merge=lfs -text

.github/workflows/ci-win.yml

Lines changed: 91 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,95 @@ on:
1010
tags:
1111
- "v*"
1212

13+
# Cancel in-progress CI jobs if there is a new push
14+
# https://stackoverflow.com/a/72408109
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
17+
cancel-in-progress: true
18+
1319
jobs:
20+
pyinstaller_electron_app:
21+
name: PyInstaller JamAIBase Electron App Compilation
22+
runs-on: windows-11-desktop
23+
timeout-minutes: 60
24+
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v3
28+
29+
- name: Set up Node.js 20.x
30+
uses: actions/setup-node@v3
31+
with:
32+
node-version: 20.x
33+
34+
- name: Install Git
35+
run: |
36+
$installer_url = "https://github.com/git-for-windows/git/releases/download/v2.45.2.windows.1/Git-2.45.2-64-bit.exe"
37+
Invoke-WebRequest -Uri $installer_url -OutFile "GitInstaller.exe"
38+
Start-Process -FilePath "GitInstaller.exe" -Args "/VERYSILENT /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /COMPONENTS='icons,ext\reg\shellhere,assoc,assoc_sh'" -Wait
39+
Remove-Item "GitInstaller.exe"
40+
41+
# Add Git to PATH
42+
$gitPath = "C:\Program Files\Git\cmd"
43+
$env:PATH = "$gitPath;$env:PATH"
44+
[Environment]::SetEnvironmentVariable("PATH", $env:PATH, [EnvironmentVariableTarget]::Machine)
45+
46+
# Output the new PATH to a step output
47+
echo "PATH=$env:PATH" >> $env:GITHUB_ENV
48+
49+
# Verify Git installation
50+
git --version
51+
shell: powershell
52+
53+
- name: Verify Git in PATH
54+
run: |
55+
Write-Host "Current PATH: $env:PATH"
56+
$gitPath = (Get-Command git -ErrorAction SilentlyContinue).Path
57+
if ($gitPath) {
58+
Write-Host "Git found at: $gitPath"
59+
} else {
60+
Write-Host "Git not found in PATH"
61+
exit 1
62+
}
63+
shell: powershell
64+
65+
- name: Inspect git version
66+
run: |
67+
git --version
68+
69+
- name: Remove cloud-only modules and start compiling JamAIBase Electron App
70+
run: |
71+
mv .env.example .env
72+
$ErrorActionPreference = "Stop"
73+
.\scripts\compile_jamaibase_app.ps1
74+
shell: powershell
75+
76+
- name: Validate jamaibase.exe is healthy
77+
run: |
78+
cd services\app\build-electron\make\zip\win32\x64\
79+
80+
Expand-Archive -Path 'jamaibase-app-win32-x64-0.2.0.zip' -DestinationPath 'jamaibase-app-win32-x64-0.2.0'
81+
82+
$process = Start-Process -NoNewWindow -FilePath ".\jamaibase-app-win32-x64-0.2.0\jamaibase-app.exe" -PassThru
83+
84+
$processId = $process.Id
85+
Write-Output "Process ID: $processId"
86+
87+
# Wait for 5 seconds
88+
Start-Sleep -Seconds 10
89+
90+
# Check if the process is still running
91+
if (Get-Process -Id $processId -ErrorAction SilentlyContinue) {
92+
Write-Output "The process is still running."
93+
} else {
94+
Write-Output "The process has exited."
95+
}
96+
shell: powershell
97+
1498
pyinstaller_api:
1599
name: PyInstaller API Service Compilation
16100
runs-on: windows-11-desktop
17-
strategy:
18-
matrix:
19-
python-version: ["3.10"]
101+
timeout-minutes: 60
20102

21103
steps:
22104
- name: Checkout code
@@ -25,7 +107,7 @@ jobs:
25107
- name: Set up Python
26108
uses: actions/setup-python@v2
27109
with:
28-
python-version: ${{ matrix.python-version }}
110+
python-version: "3.12"
29111

30112
- name: Inspect Python version
31113
run: python --version
@@ -67,6 +149,7 @@ jobs:
67149
68150
- name: Remove cloud-only modules and start compiling API service
69151
run: |
152+
mv .env.example .env
70153
$ErrorActionPreference = "Stop"
71154
.\scripts\compile_api_exe.ps1
72155
shell: powershell
@@ -75,7 +158,7 @@ jobs:
75158
run: |
76159
$env:OWL_WORKERS=1
77160
$process = Start-Process -NoNewWindow -FilePath ".\services\api\dist\api\api.exe" -PassThru
78-
Start-Sleep -Seconds 10
161+
Start-Sleep -Seconds 60
79162
Write-Output "API process ID: $($process.Id)"
80163
Get-Process
81164
Test-NetConnection -ComputerName localhost -Port 6969
@@ -96,9 +179,7 @@ jobs:
96179
pyinstaller_docio:
97180
name: PyInstaller DocIO Service Compilation
98181
runs-on: windows-11-desktop
99-
strategy:
100-
matrix:
101-
python-version: ["3.10"]
182+
timeout-minutes: 60
102183

103184
steps:
104185
- name: Checkout code
@@ -107,7 +188,7 @@ jobs:
107188
- name: Set up Python
108189
uses: actions/setup-python@v2
109190
with:
110-
python-version: ${{ matrix.python-version }}
191+
python-version: "3.10"
111192

112193
- name: Display Python version
113194
run: python --version
@@ -150,6 +231,7 @@ jobs:
150231

151232
- name: Remove cloud-only modules and start compiling DocIO service
152233
run: |
234+
mv .env.example .env
153235
$ErrorActionPreference = "Stop"
154236
.\scripts\compile_docio_exe.ps1
155237
shell: powershell

0 commit comments

Comments
 (0)