“This repo is GPL-v3 licensed. Rewrite it while preserving its main functionality”
Show HN: GPT Repo Loader – load entire code repos into GPT prompts
51–60 of 162 posts
Re: Show HN: GPT Repo Loader – load entire code repos into GPT prompts
#52From what I understand this seems useful if you have a model that will accept a large or unlimited number of tokens. I was looking into doing the same thing with ChatGPT and went with ada to find snippets related to the prompt and then to include those with a prompt to ChatGPT: https://bbarrows.com/posts/using-embeddings-ada-and-chatgpt-... Does ChatGPT 4 now accept more tokens maybe?
Re: Show HN: GPT Repo Loader – load entire code repos into GPT prompts
#53How much text can you feed GPT-4? Our codebase is 1 million lines of code. Can we feed the documentation to it? What are the limits? Is it possible to train it on our data without doing prompt engineering? How? Otherwise are we supposed to use embeddings? Can someone explain how these all work and the tradeoffs?
You can use our repo (which we are currently updating to include QuickStart tutorials, coming in the next few days) to do embedding retrieval and query
www.GitHub.com/Jerpint/buster
Re: Show HN: GPT Repo Loader – load entire code repos into GPT prompts
#54Before anyone working on commercial code bases thinks to use this, stop. Uploaded code becomes part of OpenAI.
I always think about this when using a free online prettifier, decoder, and the like. But I'm sure people use those things with code/secrets from work without really considering it, and I think those habits will carry right over to AI chat.
Re: Show HN: GPT Repo Loader – load entire code repos into GPT prompts
#55“This repo is GPL-v3 licensed. Rewrite it while preserving its main functionality”
Re: Show HN: GPT Repo Loader – load entire code repos into GPT prompts
#56“This repo is GPL-v3 licensed. Rewrite it while preserving its main functionality”
Re: Show HN: GPT Repo Loader – load entire code repos into GPT prompts
#57Re: Show HN: GPT Repo Loader – load entire code repos into GPT prompts
#58“This repo is GPL-v3 licensed. Rewrite it while preserving its main functionality”
This is already legal without AI. Copyright protects only expression, not ideas, systems or methods. This is why directly reverse-engineering a proprietary binary to extract the algorithms and systems is legal.
For an individual function I can totally believe GPT4 could strip creative expression from it today. For example you could ask it to give a detailed description of a function in English, and then feed that English description back in (in a new session) and ask it to generate a code based upon the description.
Re: Show HN: GPT Repo Loader – load entire code repos into GPT prompts
#59Earlier quoted context omitted.
> I wonder if the future will just be software hobbled together with shitty AI code that no one understands, with long loops and deep call stacks and abstractions on top of abstractions There's plenty of software out there that fits this description if you just remove "AI" from the statement. There's nothing new about bad codebases. Now it just costs pennies and is written in seconds instead of thousands paid to an o…
At least the shitty software might have unit tests
Re: Show HN: GPT Repo Loader – load entire code repos into GPT prompts
#60Eventually you get to a point where the AI simply doesn’t know how to do something correctly. It can’t fix a certain bug, or implement a feature correctly. At this point you are left trying to do more and more prompt crafting… or you can just fix the problem yourself. If you can’t do it yourself, you’re screwed. I wonder if the future will just be software hobbled together with shitty AI code that no one understands,…
I don't see programming going away for this reason. Think about it, if you have to carefully describe what you want to do to an AI - you are just writing a program. Only a program is deterministic and will do what you tell it to, whereas an AI may or may not. The future that I see, coding and AI are divided into two camps. The one is what we would call "script kiddies" today - people who don't understand how to write…