Skip to content

Commit

Permalink
Add explanation to OptimizerDemo.ipynb
Browse files Browse the repository at this point in the history
Added an explanation at the beginning of the notebook describing what the Sentence Embedding Optimizer does.
  • Loading branch information
sad-mathematician authored Jul 7, 2024
1 parent 8cfae0b commit 68eb137
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/docs/examples/node_postprocessor/OptimizerDemo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"id": "7ff2c269",
"metadata": {},
"source": [
"# Sentence Embedding Optimizer"
"# Sentence Embedding Optimizer",
"This 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 68eb137

Please sign in to comment.