Matt Carey Profile picture
agents at @StackOneHQ, ex pro windsurfer ๐ŸŒŠ hype boi @demodaysai @shippiedev ๐Ÿšข host of @badagentpod I work on tools, ai interfaces and retrieval ๐Ÿ‡ฒ๐Ÿ‡น๐Ÿ‡ฌ๐Ÿ‡ง

Jul 20, 2023, 9 tweets

Introducing Code Review GPT: Your personal code reviewer powered by LLMsโšก๏ธ

Improve code quality and catch bugs before you break production ๐Ÿš€

How does it work?

๐Ÿงต ๐Ÿ‘‡

Spoiler: we used @LangChainAI from @hwchase17 and it's incredible.

Code Review GPT runs in CI/CD pipeline.

Provides super detailed and helpful suggestions on your code ๐Ÿค

It gets all the changed files using this lovely git command:

`git diff --name-only --diff-filter=AMT ${baseSha} ${githubSha}`

And it builds a fancy prompt to tell the LLM exactly what to do ๐Ÿคฉ

Code Review GPT uses @LangChainAI to make requests to the LLM.

In this case, @OpenAI GPT-4 works pretty well and now everyone can use it >>> openai.com/blog/gpt-4-apiโ€ฆ

Using the brand new @LangChainAI Smith tool, you get this awesome dashboard ๐Ÿ’ซ

Keep track of your costs and responses from Code Review GPT super easily.

Code Review GPT then rates the responses and posts the most severe problems on your PR ๐Ÿ‘Œ๐Ÿผ

Watch the demo:

Roadmap is full ๐ŸŒ

๐Ÿ‘€ Prompt performance testing tool ๐Ÿคฏ

๐Ÿ‘€ Vector db to give the LLM memory for even better suggestions

What to pick? @neondata @supabase @awscloud Aurora Serverless... @trychroma @SingleStoreDB @momentohq @pinecone

Let me know below ๐Ÿ˜ฌ๐ŸคŸ

From the team building @quivr_brain @_StanGirard

You can see Code Review GPT in action there:

@quivr_brain @_StanGirard Repo link: github.com/mattzcarey/codโ€ฆ

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling