Skip to content

Commit

Permalink
Add explanation to OptimizerDemo.ipynb (#14615)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
sad-mathematician and nerdai authored Jul 7, 2024
1 parent 04b79b8 commit efad77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/examples/node_postprocessor/OptimizerDemo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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."
]
},
{
Expand Down

0 comments on commit efad77e

Please sign in to comment.