Skip to content

Commit bd53b3e

Browse files
authored
Release v0.4.0 owl and Python SDK (#33)
1 parent 29542ac commit bd53b3e

Some content is hidden

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

52 files changed

+430
-845
lines changed

.github/workflows/ci-win.yml

Lines changed: 0 additions & 277 deletions
This file was deleted.

.github/workflows/github_bot.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1616

1717
## [Unreleased]
1818

19+
## [v0.4] (2025-02-12)
20+
1921
### ADDED
2022

2123
Python SDK - jamaibase

MIGRATION_GUIDE.md

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,48 @@
11
# Migration Guide
22

3+
## [v0.4.0]
4+
5+
This guide provides instructions to perform a database migration that adds a `version` column and `object` attribute to all gen_config in all action tables. (Migration from owl version earlier than v0.4.0).
6+
7+
### Prerequisites
8+
9+
1. Ensure **owl/jamaibase** has been updated to at least **v0.4.0**.
10+
11+
### Steps to Perform the Migration
12+
13+
1. Navigate to the **JamAIBase** repository directory (with `./db` and `./scripts` in it).
14+
15+
```bash
16+
cd <JamAIBase repository directory>
17+
```
18+
19+
2. Run the migration script (ensure the current Python environment is the one with **owl** installed):
20+
```bash
21+
python scripts/migration_v040.py
22+
```
23+
24+
### Expected Output
25+
26+
- The script will print messages indicating whether the `file` column was renamed to `image` column.
27+
- The script will print messages indicating whether the `Page` column was added to knowledge table or if it already exist.
28+
- If any errors occur, they will be printed to the console.
29+
30+
### Troubleshooting
31+
32+
- Ensure that the migration script is run in the **JamAIBase** repository directory (`./db` and `./scripts` directories should be in this working directory).
33+
- Ensure the Python environment is the one with **owl** installed.
34+
- Check the script's error messages for any issues encountered during the migration process.
35+
- Contact us for further assistance.
36+
37+
## [v0.3.0]
38+
339
This guide provides instructions to perform a database migration that adds a `version` column and `object` attribute to all gen_config in all action tables. (Migration from owl version earlier than v0.3.0).
440

5-
## Prerequisites
41+
### Prerequisites
642

743
1. Ensure **owl/jamaibase** has been updated to at least **v0.3.0**.
844

9-
## Steps to Perform the Migration
45+
### Steps to Perform the Migration
1046

1147
1. Navigate to the **JamAIBase** repository directory (with `./db` and `./scripts` in it).
1248

@@ -19,13 +55,13 @@ This guide provides instructions to perform a database migration that adds a `ve
1955
python scripts/migration_v030.py
2056
```
2157

22-
## Expected Output
58+
### Expected Output
2359

2460
- The script will print messages indicating whether the `version` column was added or if it already exists in each database.
2561
- The script will print messages indicating whether the `object` attribute was added into each `gen_config`.
2662
- If any errors occur, they will be printed to the console.
2763

28-
## Troubleshooting
64+
### Troubleshooting
2965

3066
- Ensure that the migration script is run in the **JamAIBase** repository directory (`./db` and `./scripts` directories should be in this working directory).
3167
- Ensure the Python environment is the one with **owl** installed.

0 commit comments

Comments
 (0)