Blog
navigate_next
Java

ChatGPT Integration

Shardul Lavekar
March 13, 2023

Twitter: “If IntelliJ had a plugin that integrated with ChatGPT - it will be a 10x plugin already!” 

Us: Why not?

We are thrilled to introduce ChatGPT integrated with Unlogged. It offers developers several helpful options.

In addition to the standard unit tests boilerplate, developers now have access to the following features:

  1. Find bugs: Simply click on the Test icon next to a method, head over to Unlogged GPT, and click on Find Bugs.
  2. Refactor code: Select a method and click on Refactor.
  3. Optimize code: Click on Optimize and see the magic.
  4. Explain code: Ever wondered what a function does? Just click on Explain and let ChatGPT explain the code to you.

How does it work?

Sign up and get your ChatGPT API key from https://platform.openai.com/account/api-keys

Store

Getting an Open AI API key

Save this key somewhere & punch it in UnloggedGPT.

Note that the unit test generation still works fully offline. 

But when you use ChatGPT inside Unlogged, your code will be uploaded to ChatGPT.

Use Unlogged to record and replay methods

Give it a try and let us know your feedback on our discord channel.

https://discord.gg/Hhwvay8uTa

Shardul Lavekar
March 13, 2023
Use Unlogged to
mock instantly
record and replay methods
mock instantly
Install Plugin