chore: json dataset
This commit is contained in:
12
schema.sql
12
schema.sql
@@ -21,3 +21,15 @@ create table if not exists paragraphs (
|
||||
char_count integer,
|
||||
foreign key (book_id, chapter_id) references chapters(book_id, chapter_id)
|
||||
);
|
||||
|
||||
create table if not exists paragraph_chunks (
|
||||
id integer primary key autoincrement,
|
||||
book_id text not null,
|
||||
chapter_id text not null,
|
||||
chunk_index integer not null,
|
||||
text_en text,
|
||||
text_zh text,
|
||||
char_count integer,
|
||||
foreign key (book_id, chapter_id) references chapters(book_id, chapter_id),
|
||||
unique(book_id, chapter_id, chunk_index)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user