Skip to content

Commit

Permalink
Fix output of the notebook to match test (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samiul-TheSoccerFan authored Jun 28, 2024
1 parent 2d06d26 commit c039e41
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions notebooks/document-chunking/with-langchain-splitters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -447,22 +447,6 @@
"\n",
"Score: 0.70840263\n",
"\n",
"---\n",
"\n",
"ID: 43vjyowBidHK_OJxJozM\n",
"Doc Title: New Employee Onboarding Guide\n",
"parent text:\n",
"\n",
"Passage Text:\n",
"Review benefits options: Carefully review the benefits package and choose the options that best meet your needs.\n",
"Complete enrollment forms: Fill out the necessary forms to enroll in your chosen benefits. Submit these forms to the HR department within 30 days of your start date.\n",
"Designate beneficiaries: If applicable, designate beneficiaries for your life insurance and retirement plans.\n",
"Getting Settled in Your Workspace\n",
"To help you feel comfortable and productive in your new workspace, take the following steps:\n",
"\n",
"\n",
"Score: 0.6890813\n",
"\n",
"---\n"
]
}
Expand All @@ -473,7 +457,7 @@
" knn={\n",
" \"inner_hits\": {\"size\": 1, \"_source\": False, \"fields\": [\"passages.text\"]},\n",
" \"field\": \"passages.vector.predicted_value\",\n",
" \"k\": 5,\n",
" \"k\": 4,\n",
" \"num_candidates\": 100,\n",
" \"query_vector_builder\": {\n",
" \"text_embedding\": {\n",
Expand Down Expand Up @@ -634,7 +618,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.9.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit c039e41

Please sign in to comment.