Skip navigation
๐Ÿšจ GitChat - Conversational UI for Pull Requests ๐Ÿšจ
0:00 / 0:56

๐Ÿšจ GitChat - Conversational UI for Pull Requests ๐Ÿšจ

Jay Hack

@mathemagic1an81K followers

Visit on X
273 likesDownloadOriginal post

60,268 views

๐Ÿšจ GitChat - Conversational UI for Pull Requests ๐Ÿšจ Rip through your pull request reviews! ๐Ÿš€๐Ÿš€๐Ÿš€ Paste in any public PR url from Github โžก๏ธ ChatGPT experience for code Q&A More info ๐Ÿ‘‡

10 Comments

Comments from the original post on X (Twitter)

  • Jay Hack's profile picture

    @mathemagic1an

    Reading through huge PRs is a huge pain, especially in large/collaborative codebases. What if there was a better way than reading through large sets of file diffs (and unhelpful comments?) 2/

    8 likes

  • Jay Hack's profile picture

    @mathemagic1an

    This is a perfect use case for LLMs like GPT They can instantly parse even large code changes and comment on them intelligently. Even better, with some clever engineering, they can navigate your codebase and understand the larger implications of the code. 3/

    6 likes

  • Jay Hack's profile picture

    @mathemagic1an

    is a first stab at leveraging LLMs to enhance pull request review: ๐Ÿ˜Ž immediately summarize large change sets ๐Ÿค– detect regressions + vulnerabilities โœ๏ธ refine PRs with intelligent suggestions etc. 4/

    14 likes

  • Jay Hack's profile picture

    @mathemagic1an

    This takes advantage of OpenAI's new ChatGPT API and domain-specific architecture/UX: - File references w/ links to GitHub - LLMs empowered with codebase-wide code search - Smart syntax highlighting What else should I add?

    9 likes

  • Jay Hack's profile picture

    @mathemagic1an

    Try it out! Let me know what you think. cc @bentossell this is my hackathon submission

    6 likes

  • Jay Hack's profile picture

    @mathemagic1an

    Built with @remix_run @vercel @supabase @OpenAI @LangChainAI

    11 likes

  • Petko D. Petkov's profile picture

    @pdp

    I imagine this feature will be part of GitHub pretty soon given that MS owns it and 50% of OpenAI.

    1 like

  • Askar Yusupov's profile picture

    @pyoner

    @TheBuilderJR look at this โ˜๏ธ

    1 like

  • Alex Dorofeev's profile picture

    @megadrofan

    Jay, I'm closely following your coding projects as an ML dumb guy. But still can't figure out, how theoretically the codebase wide knowledge can be brought to LLMs without training from scratch?

  • Jay Hack's profile picture

    @mathemagic1an

    Hey Alex - there are a few known and widely-used methods and many more to be discovered Most naive approach: search for the top N files or codeblocks in your codebase based on a question, then inject them into the LLM's context This works surprisingly well for certain types of questions, like "how does authentication work" etc. This pattern is called retrieval-augmented generation and there are many variations on it

    1 like