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

[MRG] Code RAG for Chatbot #265

Merged
merged 3 commits into from
Nov 19, 2024
Merged

[MRG] Code RAG for Chatbot #265

merged 3 commits into from
Nov 19, 2024

Conversation

huangyz0918
Copy link
Member

@huangyz0918 huangyz0918 commented Nov 15, 2024

Closes #259

  • using the tree-sitter to chunk the code into snippets
  • applied the memory into the mle-chat

@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Nov 15, 2024
@huangyz0918 huangyz0918 requested review from leeeizhang, zlfben and HuaizhengZhang and removed request for leeeizhang and zlfben November 15, 2024 20:40
@huangyz0918 huangyz0918 changed the title [WIP] Code RAG for Chatbot [MRG] Code RAG for Chatbot Nov 18, 2024
@huangyz0918
Copy link
Member Author

Try mle chat --build_mem on an mle-agent project

Copy link
Contributor

@HuaizhengZhang HuaizhengZhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Some minor naming or doc issues

mle/agents/chat.py Show resolved Hide resolved
mle/cli.py Show resolved Hide resolved
mle/cli.py Outdated Show resolved Hide resolved
mle/utils/system.py Show resolved Hide resolved
@@ -70,3 +70,40 @@ def report(

github_summary = summarizer.summarize()
return reporter.gen_report(github_summary, events, okr=okr_str)


def report_local(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

report_local_git( )?

so we can have a report_local_no_git( ) later

@huangyz0918 huangyz0918 merged commit dd7da4e into main Nov 19, 2024
3 checks passed
@HuaizhengZhang HuaizhengZhang deleted the feat/local-rag branch November 19, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance Local Code Generation with RAG Module
2 participants