From 4357a63dd7586ab124fa9c6a627d8e286de8eaeb Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Mon, 22 Jan 2024 14:35:41 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20update=20codebase=20embeddings?= =?UTF-8?q?=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/walkthroughs/codebase-embeddings.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/docs/walkthroughs/codebase-embeddings.md b/docs/docs/walkthroughs/codebase-embeddings.md index 78ddc089c..5c9f6c6f7 100644 --- a/docs/docs/walkthroughs/codebase-embeddings.md +++ b/docs/docs/walkthroughs/codebase-embeddings.md @@ -8,11 +8,19 @@ keywords: [talk, embeddings, codebase, experimental] Continue indexes your codebase so that it can later automatically pull in the most relevant context from throughout your workspace. This is done via a combination of embeddings-based retrieval and keyword search. By default, all embeddings are calculated locally with `all-MiniLM-L6-v2` and stored locally in `~/.continue/index`. -## How to use codebase retrieval + -Currently, the codebase retrieval feature is available as the "codebase" context provider. You can use it by typing `@codebase` in the input box, and then asking a question. The contents of the input box will be compared with the embeddings from the rest of the codebase to determine relevant files. +Currently, the codebase retrieval feature is available as the "codebase" and "folder" context providers. You can use them by typing `@codebase` or `@folder` in the input box, and then asking a question. The contents of the input box will be compared with the embeddings from the rest of the codebase (or folder) to determine relevant files. -There are a few options that let you configure the behavior of the codebase context provider. These can be set in `config.json`: + + +## Configuration + +There are a few options that let you configure the behavior of the codebase context provider. These can be set in `config.json`, and are the same for the codebase and folder context providers: ```json title="~/.continue/config.json" {