4 ms·
I don't see why this is good. You're clogging your context with a bunch of unnecessary clutter. Just tell it what you want it to do, no? Like why am I spending
by bongodongobob 3y ago
I don't see why this is good. You're clogging your context with a bunch of unnecessary clutter. Just tell it what you want it to do, no? Like why am I spending 1500 characters per message on the hello world loop example? I get the same output from just asking it to do that.
The message indexing is kind of interesting, but again, it's a huge waste. Just write a wrapper rather than wasting all those tokens and muddying your context.
I think in the end this is just eye candy and is going to get you worse results. Granted, I haven't tested thoroughly, but neither has OP.
- airesearcher 3y agoIt's useful because it allows you to refer to messages in the chat by message number, and to define functions to use on them. You can do a lot of really powerful things with it.
- AndrewKemendo 3y agoI think that’s precisely what is unclear What exactly is so powerful that you can do this way, that you can’t do by having a more specified prompt? I read the whole thing but didn’t see anything that stood out
- airesearcher 3y agoI often work on documents or content in ChatGPT and I needed a way to refer to previous messages and drafts, and to combine them or pull ideas from them into new drafts or iterations. My first goal was to simply implement message numbering so I could refer to messages by number in the chat. It took a LOT of tuning to make ChatGPT do that reliably. Once I got that working I started taking it further to enable more advanced editing commands on ranges of messages, and automation of tasks with simple command line functions. It saves me a ton of time and a lot of cutting and pasting. Also the ability to tag messages in a chat and then pull them by tag to use for a new draft is useful. Now that I have this working I have also added other features - only available in the GPT version - that are increasingly more powerful and productive for really using ChatGPT to develop content and ideas systematically. It's way better than constantly copying and pasting previous messages into new messages to ask ChatGPT to do stuff with them. Now I simply type "Make //5 longer and combine with //7" to make message 5 longer and merge it with message 7. Big time saver!
- Zetobal 3y agoIt's still a workaround for not using the right tools for the job... ie. Embeddings and RAG and it influences your output.
- fnordpiglet 3y agoI’m not sure I understand how embedding or RAG help with the use case articulated. Those are techniques for either adjusting the semantic space or bringing context in via information retrieval. The use case here is iterative refinement of parts of the existing context without pasting it back into the context. Aside from time saving it’ll also help mitigate large context that contain lots of repetition issues. It’s hard to imagine a way embedding or RAG could help you with “take response 5 and 8, combine them and distill into a summary, but with a more emphatic style”
- Zetobal 3y agoBecause you are impedding the model performance by doing a task that can be handled by external libraries in the context window. It's just inefficient while also influencing the output of the model... There are literally no positives on doing it OPs way.
- mewpmewp2 3y agoSo we should test out the performance, because with GPT funnily enough, it's possible that this type of prompt could bias it even better. Because e.g. if you need it to answer in a very specific way, it might be helpful for the ChatBot to see what the other potential ways are so it would know to contrast even more. Yes, it's influencing the output of the model, but it's unclear to me without extensive trying in which way, because it could be positive influence as well. As for efficiency. It doesn't add that much in terms of magnitude if you already have long conversations going on. Finally. Using external libraries and building out the things that you are mentioning will take time, trial and error. Just modifying the initial prompt is easy, and you can start to use it immediately. So the main positive is just that it's likely faster and easier to implement compared to building out those systems.
- elif 3y ago"You're clogging your context with a bunch of unnecessary clutter. Just tell it what you want it to do, no? Like why am I spending 1500 characters per message on the hello world loop example?" I imagine a lot of c programmers said very similar things the first time they read about Java or Visual Basic.
- huytersd 3y agoYeah, but this is a system that actually gives you what you want if you ask it in natural language. Why introduce a bunch of programmatic cruft into it when that is exactly what it is built to solve.
- mewpmewp2 3y agoOne very specific example. What if you want it to just be concise as it sometimes generates too long answers? Generating the answer also takes time and you just want the answer really quickly. So then you either write out "Be concise" and maybe add some other modifications the prompt about "Be concise, but in a xxx way". Or you could write some sort of slash command and then it will do it every time. You can iterate that prompt to be better over time, so that you know when you want a concise answer you will get it with high likelihood. Then you start with that, but you realize there's many different ways you might need your answers in different ways. Maybe it should bias to certain types of tables, etc. I think the point is that, there's a set of common ways you might want it to respond and you don't want to waste time and energy every time to communicate that to the ChatBot. More examples are like "Skip disclaimers", or "I am an expert in the subject field and I'm testing your accuracy, you don't have to worry about giving me misleading information, I already have the correct data" and then you ask a question that it would usually respond with that "I can't blah blah, contact a specialist instead." I do quite a bit of automated systems with those prompts, so I find that it sometimes also takes time to make the prompt perfect to get exactly what you want.
- devjab 3y agoThey were right though. Look at Lunar (and others) leaving Java behind in favour of Go exactly because working with Java is extremely cumbersome. Meanwhile C and C++ are trucking on being extremely useful for things that require more efficiency. This isn’t to rant on Java by any means, I’m quite sure it’ll continue to power a lot of Enterprise applications until both of us are long dead and buried considering that COBOL is still around. But it’s not like you would pick Java for new projects in 2023 unless you had a really strong Java developer pool.