Skip to content

Commit

Permalink
fix splitter
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsbatista committed Dec 13, 2024
1 parent a37fd61 commit c981447
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
"\n",
"def create_indexing_pipeline(document_store, metadata_fields_to_embed=None):\n",
" document_cleaner = DocumentCleaner()\n",
" document_splitter = DocumentSplitter(split_by=\"sentence\", split_length=2)\n",
" document_splitter = DocumentSplitter(split_by=\"period\", split_length=2)\n",
" document_embedder = SentenceTransformersDocumentEmbedder(\n",
" model=\"thenlper/gte-large\", meta_fields_to_embed=metadata_fields_to_embed\n",
" )\n",
Expand Down

0 comments on commit c981447

Please sign in to comment.