Fix tests

This commit is contained in:
Louis Dureuil 2024-08-27 17:14:10 +02:00
parent 6287f5b204
commit 575b7b7a0b
No known key found for this signature in database
2 changed files with 30 additions and 5 deletions

View File

@ -644,7 +644,12 @@ async fn get_document_with_vectors() {
{ {
"id": 1, "id": 1,
"name": "echo", "name": "echo",
"_vectors": {} "_vectors": {
"manual": {
"embeddings": [],
"regenerate": false
}
}
} }
], ],
"offset": 0, "offset": 0,
@ -700,7 +705,12 @@ async fn get_document_with_vectors() {
}, },
{ {
"name": "echo", "name": "echo",
"_vectors": {} "_vectors": {
"manual": {
"embeddings": [],
"regenerate": false
}
}
} }
], ],
"offset": 0, "offset": 0,

View File

@ -119,7 +119,12 @@ async fn add_remove_user_provided() {
{ {
"id": 1, "id": 1,
"name": "echo", "name": "echo",
"_vectors": {} "_vectors": {
"manual": {
"embeddings": [],
"regenerate": false
}
}
} }
], ],
"offset": 0, "offset": 0,
@ -141,7 +146,12 @@ async fn add_remove_user_provided() {
{ {
"id": 1, "id": 1,
"name": "echo", "name": "echo",
"_vectors": {} "_vectors": {
"manual": {
"embeddings": [],
"regenerate": false
}
}
} }
], ],
"offset": 0, "offset": 0,
@ -577,7 +587,12 @@ async fn add_remove_one_vector_4588() {
{ {
"id": 0, "id": 0,
"name": "kefir", "name": "kefir",
"_vectors": {} "_vectors": {
"manual": {
"embeddings": [],
"regenerate": false
}
}
} }
], ],
"offset": 0, "offset": 0,