From cc15538c44a01b6e797dfc78cc3c41a3262700d1 Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Tue, 10 Jun 2025 11:06:46 -0700 Subject: [PATCH] Remove mentions about Embeddings permanently --- docs/cody/core-concepts/embeddings.mdx | 15 --------------- src/data/redirects.ts | 7 +++++++ 2 files changed, 7 insertions(+), 15 deletions(-) delete mode 100644 docs/cody/core-concepts/embeddings.mdx diff --git a/docs/cody/core-concepts/embeddings.mdx b/docs/cody/core-concepts/embeddings.mdx deleted file mode 100644 index ff12ed82c..000000000 --- a/docs/cody/core-concepts/embeddings.mdx +++ /dev/null @@ -1,15 +0,0 @@ -# Embeddings - -

Learn how you can use embeddings with Cody for better code understanding.

- -Embeddings are no longer supported on Cody Free, Pro or Enterprise. - -## What are embeddings? - -Embeddings are a semantic representation of text that allows you to create a search index over your codebase. Cody splits your codebase into searchable chunks and sends them to an external service specified in your site's configuration for embedding. The resulting embedding index is stored in your local hard drive. - -## Embeddings in VS Code - -As of Sourcegraph version 5.3, embeddings are only available to Cody Free and Cody Pro users on the VS Code extension. - -Cody Free and Pro users can leverage local embeddings for context fetching. Embeddings are created automatically and are used to provide context to Cody in chat, edits, and more. diff --git a/src/data/redirects.ts b/src/data/redirects.ts index 20464e746..da231f77a 100644 --- a/src/data/redirects.ts +++ b/src/data/redirects.ts @@ -6804,6 +6804,13 @@ const redirectsData = [ permanent: true }, + //Rmv embeddings permanentaly:https://sourcegraph.com/docs/cody/core-concepts/embeddings + { + source: "/cody/core-concepts/embeddings", + destination: "/cody/", + permanent: true + }, + ];