From a81c94b1970411016e86870974448db332de59e9 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 21 May 2023 14:42:23 -0700 Subject: [PATCH] copy --- docs/ctags.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/ctags.md b/docs/ctags.md index e21450ca7..6c93418fd 100644 --- a/docs/ctags.md +++ b/docs/ctags.md @@ -2,10 +2,14 @@ # Enhancing GPT-4's understanding of repos using ctags While GPT-4 excels at coding tasks, it struggles with making -modifications within large code bases. Its limited context window -prevents it from understanding large amounts of code. Many common -code changes require knowledge and context from multiple files -scattered throughout a large repo. To address this issue, `aider` has +modifications within large code bases. +Many common +types of code changes require knowledge and context from multiple files +scattered throughout a large repo. +This is a challenge for GPT-4, which can only consider the 8k-tokens +worth of code which can fit in its context window. + +To address this issue, `aider` has introduced an experimental feature that utilizes `ctags` to provide GPT with a **repo map**, enabling it to better comprehend and navigate larger repositories.