"query = \"What did the president say about Ketanji Brown Jackson\"\n",
@ -326,11 +326,11 @@
},
{
"cell_type": "markdown",
"id": "b7648612",
"id": "28f5da35",
"metadata": {},
"source": [
"## Doing reranking with VoyageAIRerank\n",
"Now let's wrap our base retriever with a `ContextualCompressionRetriever`. We'll add an `VoyageAIRerank`, uses the Voyage AI rerank endpoint to rerank the returned results."
"Now let's wrap our base retriever with a `ContextualCompressionRetriever`. We'll use the Voyage AI reranker to rerank the returned results."
]
},
{
@ -390,7 +390,7 @@
},
{
"cell_type": "markdown",
"id": "b83dfedb",
"id": "aa8f3d24",
"metadata": {},
"source": [
"You can of course use this retriever within a QA pipeline"