Ask HN: How do you manage your prompts in ChatGPT?

65 pointsposted 6 days ago
by nabi_nafio

Item id: 41479189

47 Comments

andix

4 days 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

4 days 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

4 days ago

click the share chat button and open that url to clone a conversation

H8crilA

4 days 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

4 days 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

4 days ago

I think you guys are responding to the title, not the question. OP is wondering how to organize the history of chats.

t-writescode

4 days ago

This is true, and you're right. I think the perspective we're trying to walk from is: "if you're creating custom queries just to find common things from ChatGPT - that is, you're not creating an assistant and you're not using it for a coding backend (which have their own solutions), then we don't recommend going that route and going a different route.

What I've said does smell of the Super Smart(tm) and completely unhelpful Stack Overflow response, I will give you that.

chaosist

3 days ago

I made a private blog that if something seems really valuable, I blog the prompt and output. Private so I don't waste time on the delusion of someone else reading it and everything that comes with that time wise.

Beyond that, the previous chats could practically be deleted for me. Its not like my prompts are such works of art that I couldn't recreate the thought if needed. Not to mention, Sonnet has made me not use chatGPT for about a month now so the blog is nicely divorced from the LLM flavor.

afpx

3 days ago

I asked it for a solution and it told me to export the data and use a search indexer like typesense / InstantSearch.

viraptor

4 days 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.

Miranda94

8 hours ago

I keep a running document where I save my frequently used prompts, organizing them by task (e.g., coding, health, education). This makes it easy to search and retrieve later.

spikey_sanju

4 days 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

3 days ago

Use autokey for linux and friends.

% apt install autokey-gtk

danielrm26

4 days 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

4 days 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

4 days 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)

fruktmix

2 days ago

Would be nice if you ask the same question twice, it would look in previous "stored questions" or not for your previous answer if you need to reuse an old answer. I found it tedious to look for an old answer I need in old conversations.

FractalHQ

4 days 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.

user

2 days ago

[deleted]

srutisatish_312

4 days ago

It's a tedious issue that I face everyday too. I solved for myself by creating a single prompt for different tasks.

What I do is create a few prompts that will be enough for my everyday tasks. Like if you do coding on a daily basis, create a single prompt that will make ChatGPT understand your coding requirements.

Open that single prompt for coding, anyday. No need to scroll up and down (which is very frustrating btw).

Hope this helps.

mentos

4 days ago

I have trello cards where I paste a link to the chatgpt4 session so I can reuse the context weeks or months later without having to spend time searching for it.

fakedang

3 days ago

Well somebody could integrate some form of Algolia/Typesense style search function into their own chat GUI, but I don't think that's a very defensible endeavour in itself - it would take OpenAI or Perplexity hours to integrate such functionality into their GUI.

pps

4 days ago

I'm using Raycast, not ChatGPT, but I think you can simply create custom GPTs for each use case (with prompt as a system instruction) and then use @ in the default new chat to quickly switch to the desired bot.

user

4 days ago

[deleted]

extr

4 days ago

Apple Notes app

muzani

4 days ago

Claude has search built in. Paid version has Projects where you get to clump together context, files, even its own tone. Quality is very similar too.

Havoc

4 days ago

Sounds like you’d do better using a front end like silly tavern or something.

Designed for role playing but you could easily create multiple characters. Ie one summarisation character etc

sandspar

4 days ago

I use custom GPTs or I pin the prompt into the copy+paste section of my Google Keyboard on mobile. Neither are very effective.

user

4 days ago

[deleted]

dr_dshiv

4 days ago

Why can’t one simply search ChatGPT (on the web UI)?

pryelluw

4 days ago

I built my own prompt management system. It’s similar to a cms except there’s connections and taxonomic relationships between prompts and generated replies. Haven’t seen anything like it yet. Too busy to put up online for others to use.

djbusby

4 days ago

I have a similar webapp front for the APIs. And it stores the conversation thread like the Chat UI.

And I add some meta data to the prompt: tags, notes, links (just Markdown)

Wouldn't mind getting integrated into my NextCloud.

throw_pm23

4 days ago

I tried it when it was new and found it impressive and cute as a gimmick and intriguing from a technical/scientific point of view. Since then I haven't found any uses for it and stopped using it altogether.

trav4225

4 days ago

Hah! This resonated with me. Maybe I'm just "getting old", but I fail to understand the value of 99% of this stuff...

outofpaper

4 days ago

LLMs are tools that allow us quick access to stochastic text. They are dream machines that snatch what might be and other maybes' from the ether. They are filtered monekys on typewriters and they are wonderful in a pinch.

Also to answer the question of what I use for managing prompts and other short blobs of text I need quick access to: Espanso.

datavirtue

4 days ago

You don't see the value of getting answers without wading through a search results trash fire?

TRiG_Ireland

3 days ago

I never even tried it. I cannot conceive of a single thing I'd want to talk to an LLM about, or a single question on which I care about an LLM's answer.

phito

3 days ago

I have history disabled.

micromacrofoot

4 days ago

in the native apps you can search past conversations