Compare commits
2 Commits
af167e2086
...
8bd68e02bd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8bd68e02bd | ||
|
|
6aaf931c9b |
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
|||||||
bd-26km
|
bd-23xb
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ async fn embed_page(
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if page_normal_docs.is_multiple_of(50) {
|
if page_normal_docs != 0 && page_normal_docs.is_multiple_of(50) {
|
||||||
debug!(
|
debug!(
|
||||||
doc_id = doc.document_id,
|
doc_id = doc.document_id,
|
||||||
doc_num = page_normal_docs,
|
doc_num = page_normal_docs,
|
||||||
@@ -169,7 +169,7 @@ async fn embed_page(
|
|||||||
"Chunking document"
|
"Chunking document"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if page_normal_docs.is_multiple_of(100) {
|
if page_normal_docs != 0 && page_normal_docs.is_multiple_of(100) {
|
||||||
info!(
|
info!(
|
||||||
doc_id = doc.document_id,
|
doc_id = doc.document_id,
|
||||||
content_bytes = doc.content_text.len(),
|
content_bytes = doc.content_text.len(),
|
||||||
|
|||||||
Reference in New Issue
Block a user