mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-12 14:23:58 +00:00
fix(docs): fix broken links (#32083)
This commit is contained in:
parent
b61ce9178c
commit
a1519af513
@ -17,9 +17,9 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# AI21Embeddings\n",
|
"# AI21Embeddings\n",
|
||||||
"\n",
|
"\n",
|
||||||
":::caution This service is deprecated. :::\n",
|
":::caution This service is deprecated.\n",
|
||||||
"\n",
|
"\n",
|
||||||
"This will help you get started with AI21 embedding models using LangChain. For detailed documentation on `AI21Embeddings` features and configuration options, please refer to the [API reference](https://python.langchain.com/api_reference/ai21/embeddings/langchain_ai21.embeddings.AI21Embeddings.html).\n",
|
"This will help you get started with AI21 embedding models using LangChain. For detailed documentation on `AI21Embeddings` features and configuration options, please refer to the [API reference](https://python.langchain.com/api_reference/ai21/index.html).\n",
|
||||||
"\n",
|
"\n",
|
||||||
"## Overview\n",
|
"## Overview\n",
|
||||||
"### Integration details\n",
|
"### Integration details\n",
|
||||||
@ -55,7 +55,9 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"id": "c84fb993",
|
"id": "c84fb993",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": "To enable automated tracing of your model calls, set your [LangSmith](https://docs.smith.langchain.com/) API key:"
|
"source": [
|
||||||
|
"To enable automated tracing of your model calls, set your [LangSmith](https://docs.smith.langchain.com/) API key:"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
@ -123,7 +125,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"## Indexing and Retrieval\n",
|
"## Indexing and Retrieval\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Embedding models are often used in retrieval-augmented generation (RAG) flows, both as part of indexing data as well as later retrieving it. For more detailed instructions, please see our [RAG tutorials](/docs/tutorials/).\n",
|
"Embedding models are often used in retrieval-augmented generation (RAG) flows, both as part of indexing data as well as later retrieving it. For more detailed instructions, please see our [RAG tutorials](/docs/tutorials/rag/).\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Below, see how to index and retrieve data using the `embeddings` object we initialized above. In this example, we will index and retrieve a sample document in the `InMemoryVectorStore`."
|
"Below, see how to index and retrieve data using the `embeddings` object we initialized above. In this example, we will index and retrieve a sample document in the `InMemoryVectorStore`."
|
||||||
]
|
]
|
||||||
|
@ -253,12 +253,16 @@ const FEATURE_TABLES = {
|
|||||||
llms: {
|
llms: {
|
||||||
link: "/docs/integrations/llms",
|
link: "/docs/integrations/llms",
|
||||||
columns: [
|
columns: [
|
||||||
{title: "Provider", formatter: (item) => <a href={
|
{
|
||||||
|
title: "Provider", formatter: (item) => <a href={
|
||||||
item.link
|
item.link
|
||||||
}>{item.name}</a>},
|
}>{item.name}</a>
|
||||||
{title: "Package", formatter: (item) => <a href={
|
},
|
||||||
|
{
|
||||||
|
title: "Package", formatter: (item) => <a href={
|
||||||
item.apiLink
|
item.apiLink
|
||||||
}>{item.package}</a>},
|
}>{item.package}</a>
|
||||||
|
},
|
||||||
],
|
],
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
@ -348,12 +352,6 @@ const FEATURE_TABLES = {
|
|||||||
package: "langchain-ollama",
|
package: "langchain-ollama",
|
||||||
apiLink: "https://python.langchain.com/api_reference/ollama/embeddings/langchain_ollama.embeddings.OllamaEmbeddings.html"
|
apiLink: "https://python.langchain.com/api_reference/ollama/embeddings/langchain_ollama.embeddings.OllamaEmbeddings.html"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "AI21",
|
|
||||||
link: "/docs/integrations/text_embedding/ai21",
|
|
||||||
package: "langchain-ai21",
|
|
||||||
apiLink: "https://python.langchain.com/api_reference/ai21/embeddings/langchain_ai21.embeddings.AI21Embeddings.html"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "Fake",
|
name: "Fake",
|
||||||
link: "/docs/integrations/text_embedding/fake",
|
link: "/docs/integrations/text_embedding/fake",
|
||||||
@ -394,7 +392,7 @@ const FEATURE_TABLES = {
|
|||||||
name: "Cohere",
|
name: "Cohere",
|
||||||
link: "/docs/integrations/text_embedding/cohere",
|
link: "/docs/integrations/text_embedding/cohere",
|
||||||
package: "langchain-cohere",
|
package: "langchain-cohere",
|
||||||
apiLink: "https://python.langchain.com/api_reference/cohere/embeddings/langchain_cohere.embeddings.CohereEmbeddings.html"
|
apiLink: "https://python.langchain.com/api_reference/community/llms/langchain_community.llms.cohere.Cohere.html"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Nomic",
|
name: "Nomic",
|
||||||
@ -408,12 +406,6 @@ const FEATURE_TABLES = {
|
|||||||
package: "databricks-langchain",
|
package: "databricks-langchain",
|
||||||
apiLink: "https://api-docs.databricks.com/python/databricks-ai-bridge/latest/databricks_langchain.html#databricks_langchain.DatabricksEmbeddings"
|
apiLink: "https://api-docs.databricks.com/python/databricks-ai-bridge/latest/databricks_langchain.html#databricks_langchain.DatabricksEmbeddings"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "VoyageAI",
|
|
||||||
link: "/docs/integrations/text_embedding/voyageai",
|
|
||||||
package: "langchain-voyageai",
|
|
||||||
apiLink: "https://python.langchain.com/api_reference/voyageai/embeddings/langchain_voyageai.embeddings.VoyageAIEmbeddings.html"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "IBM",
|
name: "IBM",
|
||||||
link: "/docs/integrations/text_embedding/ibm_watsonx",
|
link: "/docs/integrations/text_embedding/ibm_watsonx",
|
||||||
@ -474,13 +466,17 @@ const FEATURE_TABLES = {
|
|||||||
external_retrievers: {
|
external_retrievers: {
|
||||||
link: 'docs/integrations/retrievers',
|
link: 'docs/integrations/retrievers',
|
||||||
columns: [
|
columns: [
|
||||||
{title: "Retriever", formatter: (item) => <a href={
|
{
|
||||||
|
title: "Retriever", formatter: (item) => <a href={
|
||||||
item.link
|
item.link
|
||||||
}>{item.name}</a>},
|
}>{item.name}</a>
|
||||||
|
},
|
||||||
{ title: "Source", formatter: (item) => item.source },
|
{ title: "Source", formatter: (item) => item.source },
|
||||||
{title: "Package", formatter: (item) => <a href={
|
{
|
||||||
|
title: "Package", formatter: (item) => <a href={
|
||||||
item.apiLink
|
item.apiLink
|
||||||
}>{item.package}</a>},
|
}>{item.package}</a>
|
||||||
|
},
|
||||||
],
|
],
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
@ -515,14 +511,18 @@ const FEATURE_TABLES = {
|
|||||||
cloud_provider_loaders: {
|
cloud_provider_loaders: {
|
||||||
link: 'docs/integrations/loaders',
|
link: 'docs/integrations/loaders',
|
||||||
columns: [
|
columns: [
|
||||||
{title: "Document Loader", formatter: (item) => <a href={
|
{
|
||||||
|
title: "Document Loader", formatter: (item) => <a href={
|
||||||
item.link
|
item.link
|
||||||
}>{item.name}</a>},
|
}>{item.name}</a>
|
||||||
|
},
|
||||||
{ title: "Description", formatter: (item) => item.source },
|
{ title: "Description", formatter: (item) => item.source },
|
||||||
{ title: "Partner Package", formatter: (item) => item.partnerPackage ? "✅" : "❌" },
|
{ title: "Partner Package", formatter: (item) => item.partnerPackage ? "✅" : "❌" },
|
||||||
{title: "API reference", formatter: (item) => <a href={
|
{
|
||||||
|
title: "API reference", formatter: (item) => <a href={
|
||||||
item.apiLink
|
item.apiLink
|
||||||
}>{item.loaderName}</a>},
|
}>{item.loaderName}</a>
|
||||||
|
},
|
||||||
],
|
],
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
@ -650,12 +650,16 @@ const FEATURE_TABLES = {
|
|||||||
messaging_loaders: {
|
messaging_loaders: {
|
||||||
link: 'docs/integrations/loaders',
|
link: 'docs/integrations/loaders',
|
||||||
columns: [
|
columns: [
|
||||||
{title: "Document Loader", formatter: (item) => <a href={
|
{
|
||||||
|
title: "Document Loader", formatter: (item) => <a href={
|
||||||
item.link
|
item.link
|
||||||
}>{item.name}</a>},
|
}>{item.name}</a>
|
||||||
{title: "API reference", formatter: (item) => <a href={
|
},
|
||||||
|
{
|
||||||
|
title: "API reference", formatter: (item) => <a href={
|
||||||
item.apiLink
|
item.apiLink
|
||||||
}>{item.loaderName}</a>},
|
}>{item.loaderName}</a>
|
||||||
|
},
|
||||||
],
|
],
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
@ -693,12 +697,16 @@ const FEATURE_TABLES = {
|
|||||||
productivity_loaders: {
|
productivity_loaders: {
|
||||||
link: 'docs/integrations/loaders',
|
link: 'docs/integrations/loaders',
|
||||||
columns: [
|
columns: [
|
||||||
{title: "Document Loader", formatter: (item) => <a href={
|
{
|
||||||
|
title: "Document Loader", formatter: (item) => <a href={
|
||||||
item.link
|
item.link
|
||||||
}>{item.name}</a>},
|
}>{item.name}</a>
|
||||||
{title: "API reference", formatter: (item) => <a href={
|
},
|
||||||
|
{
|
||||||
|
title: "API reference", formatter: (item) => <a href={
|
||||||
item.apiLink
|
item.apiLink
|
||||||
}>{item.loaderName}</a>},
|
}>{item.loaderName}</a>
|
||||||
|
},
|
||||||
],
|
],
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
@ -748,12 +756,16 @@ const FEATURE_TABLES = {
|
|||||||
social_loaders: {
|
social_loaders: {
|
||||||
link: 'docs/integrations/loaders',
|
link: 'docs/integrations/loaders',
|
||||||
columns: [
|
columns: [
|
||||||
{title: "Document Loader", formatter: (item) => <a href={
|
{
|
||||||
|
title: "Document Loader", formatter: (item) => <a href={
|
||||||
item.link
|
item.link
|
||||||
}>{item.name}</a>},
|
}>{item.name}</a>
|
||||||
{title: "API reference", formatter: (item) => <a href={
|
},
|
||||||
|
{
|
||||||
|
title: "API reference", formatter: (item) => <a href={
|
||||||
item.apiLink
|
item.apiLink
|
||||||
}>{item.loaderName}</a>},
|
}>{item.loaderName}</a>
|
||||||
|
},
|
||||||
],
|
],
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
@ -773,9 +785,11 @@ const FEATURE_TABLES = {
|
|||||||
webpage_loaders: {
|
webpage_loaders: {
|
||||||
link: 'docs/integrations/loaders',
|
link: 'docs/integrations/loaders',
|
||||||
columns: [
|
columns: [
|
||||||
{title: "Document Loader", formatter: (item) => <a href={
|
{
|
||||||
|
title: "Document Loader", formatter: (item) => <a href={
|
||||||
item.link
|
item.link
|
||||||
}>{item.name}</a>},
|
}>{item.name}</a>
|
||||||
|
},
|
||||||
{ title: "Description", formatter: (item) => item.source },
|
{ title: "Description", formatter: (item) => item.source },
|
||||||
{ title: "Package/API", formatter: (item) => item.api },
|
{ title: "Package/API", formatter: (item) => item.api },
|
||||||
],
|
],
|
||||||
@ -841,9 +855,11 @@ const FEATURE_TABLES = {
|
|||||||
pdf_loaders: {
|
pdf_loaders: {
|
||||||
link: 'docs/integrations/loaders',
|
link: 'docs/integrations/loaders',
|
||||||
columns: [
|
columns: [
|
||||||
{title: "Document Loader", formatter: (item) => <a href={
|
{
|
||||||
|
title: "Document Loader", formatter: (item) => <a href={
|
||||||
item.link
|
item.link
|
||||||
}>{item.name}</a>},
|
}>{item.name}</a>
|
||||||
|
},
|
||||||
{ title: "Description", formatter: (item) => item.source },
|
{ title: "Description", formatter: (item) => item.source },
|
||||||
{ title: "Package/API", formatter: (item) => item.api },
|
{ title: "Package/API", formatter: (item) => item.api },
|
||||||
],
|
],
|
||||||
@ -937,9 +953,11 @@ const FEATURE_TABLES = {
|
|||||||
common_loaders: {
|
common_loaders: {
|
||||||
link: 'docs/integrations/loaders',
|
link: 'docs/integrations/loaders',
|
||||||
columns: [
|
columns: [
|
||||||
{title: "Document Loader", formatter: (item) => <a href={
|
{
|
||||||
|
title: "Document Loader", formatter: (item) => <a href={
|
||||||
item.link
|
item.link
|
||||||
}>{item.name}</a>},
|
}>{item.name}</a>
|
||||||
|
},
|
||||||
{ title: "Data Type", formatter: (item) => item.source },
|
{ title: "Data Type", formatter: (item) => item.source },
|
||||||
],
|
],
|
||||||
items: [
|
items: [
|
||||||
@ -984,9 +1002,11 @@ const FEATURE_TABLES = {
|
|||||||
vectorstores: {
|
vectorstores: {
|
||||||
link: 'docs/integrations/vectorstores',
|
link: 'docs/integrations/vectorstores',
|
||||||
columns: [
|
columns: [
|
||||||
{title: "Vectorstore", formatter: (item) => <a href={
|
{
|
||||||
|
title: "Vectorstore", formatter: (item) => <a href={
|
||||||
item.link
|
item.link
|
||||||
}>{item.name}</a>},
|
}>{item.name}</a>
|
||||||
|
},
|
||||||
{ title: "Delete by ID", formatter: (item) => item.deleteById ? "✅" : "❌" },
|
{ title: "Delete by ID", formatter: (item) => item.deleteById ? "✅" : "❌" },
|
||||||
{ title: "Filtering", formatter: (item) => item.filtering ? "✅" : "❌" },
|
{ title: "Filtering", formatter: (item) => item.filtering ? "✅" : "❌" },
|
||||||
{ title: "Search by Vector", formatter: (item) => item.searchByVector ? "✅" : "❌" },
|
{ title: "Search by Vector", formatter: (item) => item.searchByVector ? "✅" : "❌" },
|
||||||
|
Loading…
Reference in New Issue
Block a user