Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Vector Store for Similarity-Based Code Generation (RAG on Codebase) #1048

Closed
moamen270 opened this issue Mar 6, 2024 · 2 comments
Labels
enhancement New feature or request triage Interesting but stale issue. Will be close if inactive for 3 more days after label added.

Comments

@moamen270
Copy link

Feature description

I've been exploring your repository and I'm fascinated by the capabilities of the agent as a software engineer, particularly in executing commands and calling functions. However, I believe there's a significant opportunity to enhance its capabilities by integrating a vector store that contains embedded codebases. This would enable the agent to perform similarity searches on code snippets, allowing it to generate code similar to existing codebases.

Motivation/Application

Why is this feature useful?
The agent will be able to produce code that closely resembles existing codebases, improving the quality and relevance of generated code. By leveraging similarity-based code generation, the agent can adapt to different coding styles and conventions present in the embedded codebases.

@moamen270 moamen270 added enhancement New feature or request triage Interesting but stale issue. Will be close if inactive for 3 more days after label added. labels Mar 6, 2024
@viborc
Copy link
Collaborator

viborc commented Mar 7, 2024

Hey, @moamen270, thanks for this feature request! We just discussed it during our meeting. At the moment, we should focus more on other open issues and our roadmap goals. Our current thinking is that with increased context sizes of (most) modern models, implementation of Vector Stores and RAG functionality might not be a very high priority.

We previously experimented with that (I think you can probably find those commits in this repo), and our experience was that it also brought some additional complexities and the need for additional dependencies.

@viborc viborc closed this as completed Mar 7, 2024
@lexasub
Copy link

lexasub commented Oct 10, 2024

Hello, @viborc! On the one hand yes, on the other hand - I have on rtx 3060 + 32 gb ram does not fit all the context (code), which is very sad. i got the boilerplate, but further planned to edit myself and give gpt-engeener alternately. but with my resources this is not possible, any promotion on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage Interesting but stale issue. Will be close if inactive for 3 more days after label added.
Projects
Status: Done
Development

No branches or pull requests

3 participants