From 54743b085039cb21a7d07581d0cd70e999082c4f Mon Sep 17 00:00:00 2001 From: Santiago Medina Date: Tue, 31 Oct 2023 21:13:42 -0700 Subject: [PATCH] pdf example --- examples/pdf/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pdf/src/main.rs b/examples/pdf/src/main.rs index e3bbe3b..87387ec 100644 --- a/examples/pdf/src/main.rs +++ b/examples/pdf/src/main.rs @@ -48,7 +48,7 @@ async fn main() -> Result<()> { args.file.split("/").last().unwrap().split(".").next().unwrap().to_string() }; - let pdf_records = Pdf::from_file(&args.file, false).spin()?.split(500); + let pdf_records = Pdf::from_file(&args.file, false).spin()?.split(99); let bert = Bert::new().build_model_and_tokenizer().await?; let qdrant = Qdrant::new("localhost", 6334);