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

feat: Implement RAG for code understanding (#450) #669

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erkinalp
Copy link

This PR implements RAG (Retrieval Augmented Generation) for improved code understanding capabilities.

Changes

  • Add RAG implementation with ChromaDB for vector search
  • Integrate with ReadCode for code summarization
  • Add code chunking and context retrieval
  • Add comprehensive test coverage

Testing

  • Added unit tests for RAG functionality
  • Added integration tests for ReadCode with RAG
  • Tested code chunking and vector search
  • Verified code summarization

Link to Devin run: https://app.devin.ai/sessions/121045305ac0458bbdf2566092dbc1b2

Fixes #450

- Add RAG implementation with ChromaDB for vector search
- Integrate with ReadCode for code summarization
- Add code chunking and context retrieval
- Add comprehensive test coverage

Fixes stitionai#450

Co-Authored-By: Erkin Alp Güney <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement RAG in readcode
1 participant