Readit News logoReadit News
Posted by u/nabi_nafio a year ago
Ask HN: How do you manage your prompts in ChatGPT?
I use ChatGPT regularly for a lot of different tasks. For example, coding, health Q&A, and summarizing docs. The different prompts stack up in the sidebar which becomes very difficult to manage. For example, I frequently have to refer back to a prompt that I wrote previously. But I usually give up looking for it because of the tedious scroll and search process. I was wondering if there is an easier way. How do you manage your prompts in ChatGPT?
andix · a year ago
This is actually one of my biggest issues with ChatGPT, that it's not really possible to create some kind of reusable workflows. The best option is Custom GPTs, to create a specific chat bot for one task.

There are many UI projects for LLMs, like openwebui.com for example. But even with the OpenAI API as backend they don't provide as many features as ChatGPT (Web search, Python processing of data, charting, image generation).

I think one of the most promising approach would be some kind of user scripts for extending the official ChatGPT UI. (user scripts in the browser with some tool like Violentmonkey, FireMonkey, or anything similar to the good old Greasemonkey). I don't use it though, and I don't know if there are any good extensions for ChatGPT.

lulzury · a year ago
I looked into creating a simple Firefox extension for ChatGPT which would let me branch a conversation off into a new chat so as not to "pollute" or interfere with the existing chat.

I had success extracting the existing conversation and adding it to a new window, but gave up after trying to modify the ChatGPT UI (i.e. to format what I'd just pasted in so it'd look like the conversation left off where I branched). The UI just kept re-rendering/re-painting itself non-stop, overriding what I changed. I didn't try to push past that. I'm sure I could use JS or something else to massage the UI further, but it didn't seem like a non-trivial task. Maybe something to look into some weekend.

https://github.com/lulzury/got-branch-convo

fragmede · a year ago
click the share chat button and open that url to clone a conversation
H8crilA · a year ago
Why not just ask the bot to do something? I'm using it daily and don't have to spend more than 5 seconds thinking of a "prompt".

The only exception is function calling (or whatever they call structured output these days), but that is simply embedded in my or other people's programs that call the API.

t-writescode · a year ago
This is what I've found effective.

I use conversational English for basically every prompt I work with ChatGPT on as a regular person.

For my application, I have prompts that I have stored in source code, but those need to have very consistent, exact inputs and outputs (mostly JSON), so creating a specific prompt is important for those.

For anything human where a human can parse it, regular ChatGPT works perfectly fine!

adastra22 · a year ago
I think you guys are responding to the title, not the question. OP is wondering how to organize the history of chats.
afpx · a year ago
I asked it for a solution and it told me to export the data and use a search indexer like typesense / InstantSearch.
viraptor · a year ago
It depends how often you do a thing. It's ok to write things from scratch a few times. But if you often ask about the same database which involves dumping a long schema and including extra context for the information in it, you don't want to write it more than once. Or if you often ask for specific things like visualisation of data, but you don't want to manually explain each time that you want to use polars and pyplot and typed python and get timing around longer running functions and ...

If you're doing ad-hoc things, yeah, just ask. If not, prompt management saves lots of time.

spikey_sanju · a year ago
Simple. If you're using an Apple device, go to Settings → Keyboard → Text Replacement → Add Your Prompt.

For example,

Replace: !rw

With: "Rewrite this using simple words: {your_content}"

So, whenever I type "!rw", it replaces the text with "Rewrite this using simple words: {your_content}".

You don't need to switch between multiple tabs, use an extension, or refer to the documentation again and again.

solarized · a year ago
Use autokey for linux and friends.

% apt install autokey-gtk

danielrm26 · a year ago
I humbly submit my project as a possible solution.

It's open-source on Github.

https://github.com/danielmiessler/fabric

The tagline is Human Augmentation Using AI, but really it's a crowd-sourced library of prompts.

Basically, I solve a problem once, to a satisfactory level, and then I upload it to Fabric so everyone else can do the same.

Over 22K stars just since January 2024.

pulvinar · a year ago
I do a frequent data-export and then keep that text open in an adjacent tab to search.

The feature is kinda hidden: preferences (upper-right corner) > Settings > Data controls > Export data. You then get email and download it from that. Unzip and open chat.html.

sixhobbits · a year ago
I use gpt through the api hooked up to a Telegram bot

I save common prompts with

    /create blahbot you always blah
And then I can ask any bot something by saying

    /blahbot tell me about blah

Kind of hacky and misses some of the qol features built into chatgpt but it's super convenient as I use telegram a lot on phone and desktop anyway and it's got pretty good search functionality (and cheaper to pay per token than the flat fee for me plus friends and family can use it too)

FractalHQ · a year ago
I use Claude and Cursor because they’re so much better and don’t require any fancy prompting to not completely suck.

For snippets, I use the system built into Raycast. For non-programming questions, I just ask Perplexity as I’d ask a person and its orders of magnitude better than Google or any single LLM.