3 ms·
I had a similar thought, but would I would like to maintain control what the LLM has access to. It would be difficult to prevent things you might temporarily ha
by bko 3y ago
I had a similar thought, but would I would like to maintain control what the LLM has access to. It would be difficult to prevent things you might temporarily have hardcoded or generally do not want to expose.
I started working on something for this purpose called j-dev [0]. It started as a fork off smol-dev [1] which basically gets GPT to write your entire project from scratch. And then you would have to iterate the prompt to nuke everything and re-write everything, filling in increasingly complicated statements like "oh except in this function make sure you return a promise"
j-dev is a CLI where it gives a prompt similar to the one in the parent article [2]. You start with a prompt and the CLI fills in the directory contents (excluding gitignore). Then it requests access to the files it thinks it wants. And then it can edit, delete or add files or ask for followup based on your response. It does stuff like make sure the file exists, show you a git diff of changes, respond if the LLM is not following the system prompt, etc.
It also addresses the problem that a lot of these tools eat up way too many tokens so a single prompt to something like smol-dev would eat up a few dollars on every iterations.
It's still very much a work in progress and i'll prob do a show hn next week but I would love some feedback
[0] https://github.com/breeko/j-dev https://github.com/breeko/j-dev
[1] https://github.com/smol-ai/developer https://github.com/smol-ai/developer
[2] https://github.com/breeko/j-dev/blob/master/src/prompts/system.ts https://github.com/breeko/j-dev/blob/master/src/prompts/syst...
- ZephyrBlu 3y agoSounds cool! I'm looking forward to the Show HN. Would definitely recommend recording a video of it in action. A video makes it much easier to understand what the tool can do.
- Terretta 3y ago> video makes it much easier to understand what the tool can do For you. Long before YouTube versus WikiHow we've had "visual learners", "practical learners", and those who prefer learning from clear writing. So it's probably not just some sort of generational or way-of-thinking divide, it's probably a cohort of personas who far prefer text to rapidly understand what things do, and a cohort who prefer someone to "show and tell"[^1]. That said, the balance does seem to have shifted in recent decades, perhaps for Americans around the same time (correlation not causation) as free play outside and big three over-the-air TV networks gave way to helicopter parenting of fully programmed days and/or the first 150 channel MTV generation. [^1]: "show and tell" (1954?) - https://en.wikipedia.org/wiki/Show_and_tell https://en.wikipedia.org/wiki/Show_and_tell