From 59c3c344df3701f5fcfa6f13404cf8e2e3d80a6f Mon Sep 17 00:00:00 2001 From: Leonid Ganeline Date: Sun, 17 Dec 2023 14:54:48 -0800 Subject: [PATCH] docs redundant pages (#14774) [ScaNN](https://python.langchain.com/docs/integrations/providers/scann) and [DynamoDB](https://python.langchain.com/docs/integrations/platforms/aws#aws-dynamodb) pages in `providers` are redundant because we have those references in the Google and AWS platform pages. It is confusing. - I removed unnecessary pages, redirected files to new nams; --- .../integrations/providers/aws_dynamodb.mdx | 23 --------------- docs/docs/integrations/providers/scann.mdx | 29 ------------------- docs/vercel.json | 8 +++++ 3 files changed, 8 insertions(+), 52 deletions(-) delete mode 100644 docs/docs/integrations/providers/aws_dynamodb.mdx delete mode 100644 docs/docs/integrations/providers/scann.mdx diff --git a/docs/docs/integrations/providers/aws_dynamodb.mdx b/docs/docs/integrations/providers/aws_dynamodb.mdx deleted file mode 100644 index 70c16295f0..0000000000 --- a/docs/docs/integrations/providers/aws_dynamodb.mdx +++ /dev/null @@ -1,23 +0,0 @@ -# AWS DynamoDB - ->[AWS DynamoDB](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/dynamodb/index.html) -> is a fully managed `NoSQL` database service that provides fast and predictable performance with seamless scalability. - -## Installation and Setup - -We have to configur the [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html). - -We need to install the `boto3` library. - -```bash -pip install boto3 -``` - - -## Memory - -See a [usage example](/docs/integrations/memory/aws_dynamodb). - -```python -from langchain.memory import DynamoDBChatMessageHistory -``` diff --git a/docs/docs/integrations/providers/scann.mdx b/docs/docs/integrations/providers/scann.mdx deleted file mode 100644 index f801207b82..0000000000 --- a/docs/docs/integrations/providers/scann.mdx +++ /dev/null @@ -1,29 +0,0 @@ -# ScaNN - ->[Google ScaNN](https://github.com/google-research/google-research/tree/master/scann) -> (Scalable Nearest Neighbors) is a python package. -> ->`ScaNN` is a method for efficient vector similarity search at scale. - ->ScaNN includes search space pruning and quantization for Maximum Inner -> Product Search and also supports other distance functions such as -> Euclidean distance. The implementation is optimized for x86 processors -> with AVX2 support. See its [Google Research github](https://github.com/google-research/google-research/tree/master/scann) -> for more details. - -## Installation and Setup - -We need to install `scann` python package. - -```bash -pip install scann -``` - -## Vector Store - -See a [usage example](/docs/integrations/vectorstores/scann). - -```python -from langchain.vectorstores import ScaNN -``` - diff --git a/docs/vercel.json b/docs/vercel.json index a12ad16193..9da85a91d9 100644 --- a/docs/vercel.json +++ b/docs/vercel.json @@ -1,5 +1,13 @@ { "redirects": [ + { + "source": "/docs/integrations/providers/aws_dynamodb", + "destination": "/docs/integrations/platforms/aws#aws-dynamodb" + }, + { + "source": "/docs/integrations/providers/scann", + "destination": "/docs/integrations/platforms/google#google-scann" + }, { "source": "/docs/integrations/toolkits/google_drive", "destination": "/docs/integrations/tools/google_drive"