mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-09 04:50:37 +00:00
docs: VoyageAI new embedding and reranking models (#22719)
This commit is contained in:
parent
8f019e91d7
commit
c1fced9269
@ -90,7 +90,9 @@
|
|||||||
"- `voyage-code-2`\n",
|
"- `voyage-code-2`\n",
|
||||||
"- `voyage-2`\n",
|
"- `voyage-2`\n",
|
||||||
"- `voyage-law-2`\n",
|
"- `voyage-law-2`\n",
|
||||||
"- `voyage-lite-02-instruct`"
|
"- `voyage-lite-02-instruct`\n",
|
||||||
|
"- `voyage-finance-2`\n",
|
||||||
|
"- `voyage-multilingual-2`"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -336,7 +338,10 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"## Doing reranking with VoyageAIRerank\n",
|
"## Doing reranking with VoyageAIRerank\n",
|
||||||
"Now let's wrap our base retriever with a `ContextualCompressionRetriever`. We'll use the Voyage AI reranker 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. You can use any of the following Reranking models: ([source](https://docs.voyageai.com/docs/reranker)):\n",
|
||||||
|
"\n",
|
||||||
|
"- `rerank-1`\n",
|
||||||
|
"- `rerank-lite-1`"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,9 @@
|
|||||||
"- `voyage-code-2`\n",
|
"- `voyage-code-2`\n",
|
||||||
"- `voyage-2`\n",
|
"- `voyage-2`\n",
|
||||||
"- `voyage-law-2`\n",
|
"- `voyage-law-2`\n",
|
||||||
"- `voyage-large-2-instruct`"
|
"- `voyage-large-2-instruct`\n",
|
||||||
|
"- `voyage-finance-2`\n",
|
||||||
|
"- `voyage-multilingual-2`"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user