Commit graph

269 commits

Author SHA1 Message Date
Paul Gauthier
b081dd9e19 copy 2023-05-21 14:29:47 -07:00
Paul Gauthier
dde6577cdf aider: Enhanced GPT-4's understanding of entire repos using ctags.
# Context:
USER: improve the first para
ASSISTANT: ```markdown
docs/ctags.md
<<<<<<< ORIGINAL
# Using ctags to help GPT-4 understand an entire repo

GPT-4 is great at coding, but it's hard to work with it to make
modifications inside a large code base.
GPT can't really understand and navigate more code than can fit
in its context window.
And many
common types of code changes will need knowledge and context from
multiple files strewn about the repo.
A new experimental feature of `aider` uses `ctags` to give GPT a
**repo map**, so that it can better understand and navigate larger repos.
=======
# Enhancing GPT-4's understanding of entire 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 and navigating code beyond its capacity. Many common code changes require knowledge and context from multiple files scattered throughout the repo. To address this issue, `aider` introduces an experimental feature that utilizes `ctags` to provide GPT with a **repo map**, enabling it to better comprehend and navigate larger repositories.
>>>>>>> UPDATED
```
2023-05-21 14:28:26 -07:00
Paul Gauthier
f35bc2f157 copy 2023-05-21 14:27:37 -07:00
Paul Gauthier
adcfbf5d85 copy 2023-05-21 14:26:46 -07:00
Paul Gauthier
8e6774babd copy 2023-05-21 14:24:26 -07:00
Paul Gauthier
7cef19e455 copy 2023-05-21 14:23:54 -07:00
Paul Gauthier
aac77d9659 aider: Improve para starting 'Of course for large repos' in ctags.md.
# Context:
USER: improve the para starting "Of course for large repos"
ASSISTANT: ```markdown
docs/ctags.md
<<<<<<< ORIGINAL
Of course, for large repos even their map might be too large for
the context window.
But this mapping approach enables
collaboration with GPT-4 on larger code bases
than was previously possible.
And it reduces the need to manually curate which files to add
to the chat, giving GPT itself more ability to identify which files
are relevant to the task at hand.
=======
Of course, for large repositories, even their map might be too large for the context window. However, this mapping approach significantly improves collaboration with GPT-4 on larger codebases compared to previous methods. It also minimizes the need for manual curation of files to add to the chat, empowering GPT to autonomously identify relevant files for the task at hand.
>>>>>>> UPDATED
```
2023-05-21 14:22:51 -07:00
Paul Gauthier
29bb9398df copy 2023-05-21 14:21:41 -07:00
Paul Gauthier
35d99ee08b copy 2023-05-21 14:19:13 -07:00
Paul Gauthier
e64353ada1 copy 2023-05-21 14:18:57 -07:00
Paul Gauthier
fe1d0b0e09 copy 2023-05-21 14:17:27 -07:00
Paul Gauthier
3f1eaf566c copy 2023-05-21 14:16:13 -07:00
Paul Gauthier
e047976ce4 copy 2023-05-21 14:15:44 -07:00
Paul Gauthier
8b28539b4e copy 2023-05-21 14:14:30 -07:00
Paul Gauthier
897e19372e copy 2023-05-21 14:12:42 -07:00
Paul Gauthier
7c8bc9453c copy 2023-05-21 14:10:32 -07:00
Paul Gauthier
cfab008989 copy 2023-05-21 12:55:54 -07:00
Paul Gauthier
ab4b379db3 copy 2023-05-21 12:51:05 -07:00
Paul Gauthier
5db6346a39 added ctags doc 2023-05-21 12:50:31 -07:00