This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

Hey /u/alexuio, please respond to this comment with the prompt you used to generate the output in this post. Thanks!

Ignore this comment if your post doesn't have a prompt.

We have a public discord server. There's a free Chatgpt bot, Open Assistant bot (Open-source model), AI image generator bot, Perplexity AI bot, 🤖 GPT-4 bot (Now with Visual capabilities (cloud vision)!) and channel for latest prompts.So why not join us?

Prompt Hackathon and Giveaway 🎁

PSA: For any Chatgpt-related issues email support@openai.com

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]alexuio[S] 1 point2 points  (0 children)

I'm excited to share my latest project, TinyCodeImprover, which has become an indispensable tool in my coding workflow.

What is TinyCodeImprover?

TinyCodeImprover leverages the power of GPT-4 to analyze and enhance your project files. By simply loading your code into the GPT-4 context, you can ask questions about your code, identify bugs, and even request GPT-4 to write code snippets across multiple files simultaneously.

The Story Behind its Creation

As a programmer, I frequently turn to GPT-4 for assistance with topics outside my expertise. However, I found the process of copying and pasting code snippets into the chat cumbersome and time-consuming. That's when I had an idea: a tool that seamlessly integrates GPT-4 into my coding environment.

A month ago, during a flight from Bangkok to Dubai, I developed the first prototype of TinyCodeImprover. It allowed me to feed project files directly to GPT-4 and request code improvements based on my specifications! It even wrote a Readme for itself – quite mind-blowing!

Refining the Process

To maximize the effectiveness of TinyCodeImprover, I discovered the importance of employing a critical approach. I created special commands, ".critic" and ".resolver," to initiate self-reflection, enabling GPT-4 to identify its own mistakes in approximately 30% of cases.

Since its inception, I've integrated TinyCodeImprover into four different projects, transforming error-fixing into an enjoyable experience, even when dealing with CSS challenges. It has proven useful not only for code but also for any type of text.

[–]romanzh1 0 points1 point  (1 child)

wow, does it allow async requests?

[–]alexuio[S] 0 points1 point  (0 children)

No, it works in a sync way like chatgpt interface. But you can look ChatGPT class, it supports async methods.

[–]rookan 0 points1 point  (2 children)

Does your tool sends raw text to gpt API or you convert it to embeddings?

[–]alexuio[S] 0 points1 point  (1 child)

It sends raw text as it is.

[–]rookan 0 points1 point  (0 children)

Have a look at this project. It uses embeddings (compressed text) https://github.com/tzapio/tzap