@@ -8,6 +8,7 @@ use crate::types::{DateTime, Json};
88// A multi field pipeline
99#[ enum_def]
1010#[ derive( FromRow ) ]
11+ #[ allow( dead_code) ]
1112pub struct Pipeline {
1213pub id : i64 ,
1314pub name : String ,
@@ -19,6 +20,7 @@ pub struct Pipeline {
1920// A model used to perform some task
2021#[ enum_def]
2122#[ derive( FromRow ) ]
23+ #[ allow( dead_code) ]
2224pub struct Model {
2325pub id : i64 ,
2426pub created_at : DateTime ,
@@ -29,6 +31,7 @@ pub struct Model {
2931// A text splitter
3032#[ enum_def]
3133#[ derive( FromRow ) ]
34+ #[ allow( dead_code) ]
3235pub struct Splitter {
3336pub id : i64 ,
3437pub created_at : DateTime ,
@@ -63,6 +66,7 @@ impl Document {
6366// A collection of documents
6467#[ enum_def]
6568#[ derive( FromRow ) ]
69+ #[ allow( dead_code) ]
6670pub struct Collection {
6771pub id : i64 ,
6872pub created_at : DateTime ,
@@ -74,6 +78,7 @@ pub struct Collection {
7478// An embedding
7579#[ enum_def]
7680#[ derive( FromRow ) ]
81+ #[ allow( dead_code) ]
7782pub struct Embedding {
7883pub id : i64 ,
7984pub created_at : DateTime ,
@@ -83,6 +88,7 @@ pub struct Embedding {
8388
8489// A chunk of split text
8590#[ derive( FromRow ) ]
91+ #[ allow( dead_code) ]
8692pub struct Chunk {
8793pub id : i64 ,
8894pub created_at : DateTime ,
@@ -93,6 +99,7 @@ pub struct Chunk {
9399
94100// A tsvector of a document
95101#[ derive( FromRow ) ]
102+ #[ allow( dead_code) ]
96103pub struct TSVector {
97104pub id : i64 ,
98105pub created_at : DateTime ,