From efad77e0a41227ba295fbdfa9a595079f4c5638f Mon Sep 17 00:00:00 2001 From: Sad Mathematician <134358999+sad-mathematician@users.noreply.github.com> Date: Mon, 8 Jul 2024 00:27:53 +0530 Subject: [PATCH] Add explanation to OptimizerDemo.ipynb (#14615) * Add explanation to OptimizerDemo.ipynb Added an explanation at the beginning of the notebook describing what the Sentence Embedding Optimizer does. * lint --------- Co-authored-by: Andrei Fajardo --- docs/docs/examples/node_postprocessor/OptimizerDemo.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/examples/node_postprocessor/OptimizerDemo.ipynb b/docs/docs/examples/node_postprocessor/OptimizerDemo.ipynb index 5329fbdd55f6d..7638ee45cb17a 100644 --- a/docs/docs/examples/node_postprocessor/OptimizerDemo.ipynb +++ b/docs/docs/examples/node_postprocessor/OptimizerDemo.ipynb @@ -15,7 +15,7 @@ "id": "7ff2c269", "metadata": {}, "source": [ - "# Sentence Embedding Optimizer" + "# Sentence Embedding OptimizerThis postprocessor optimizes token usage by removing sentences that are not relevant to the query (this is done using embeddings).The percentile cutoff is a measure for using the top percentage of relevant sentences. The threshold cutoff can be specified instead, which uses a raw similarity cutoff for picking which sentences to keep." ] }, {