Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Typemagic – ChatGPT you can teach (typemagic.com)
5 points by koopuluri on June 17, 2023 | hide | past | favorite | 4 comments
Hey HN! I'm Karthik & have been working on Typemagic (https://typemagic.com): a ChatGPT client that saves your prompts, and applies them when needed based on your chat.

The Problem: Since it came out, I've been using ChatGPT for various tasks, such as coding, generating database queries, reviewing my writing, and learning new things. Initially, I found myself constantly managing useful prompts in a Notion doc. I'd either paste a prompt from Notion to provide the right context or sift through my chat history to locate that context.

Some examples of snippets I frequently used include: - A detailed summary of my Tech stack. - Movie and book preferences (for suggestions). - My database schema (so that it could write queries). - Writing guidelines to follow when reviewing my writing.

This workflow was fine for 3 prompts, but sucked for 10. So I set out to build a better way.

Typemagic automatically searches for the best prompts in your library, applying them when needed based on your chat. Once you save a prompt, you (hopefully!) don't have to worry about applying it manually - Typemagic takes care of it. While there's definitely room for improvement, this approach has been more effective than manually searching and pasting the right prompts for me.

I'd greatly appreciate any feedback you have, especially critical feedback :).

The Journey: This is the second iteration of the product. In the first version, you could create ChatGPT agents to chat with. But before asking what you wanted, you had to choose the right agent to chat with. Needing to make this decision every time you wanted to switch context was too much friction.

I realized my design approach was outdated. With AI, we have the opportunity to offload more decision making from users' minds onto AI. The right balance is one in which users act more as managers: approving / rejecting proposals, vs. actually, outright, deciding. As AI becomes more powerful, this balance will shift towards AI making more / most of the decisions.

With this insight, my friend Akash and I designed the current version that relies on Typemagic choosing the prompts during your chat while giving you visibility and control over the prompts applied.

Under the hood: Currently, Typemagic uses embeddings (https://platform.openai.com/docs/guides/embeddings) to find the best prompt matches by comparing your current chat embedding with the embeddings for all of your prompts to find the best matches.

Using Firebase, Firestore for auth and to store data. Deployed on Vercel (huge fan!).

What's Next? I'm working on enhancing the experience with faster performance, better recommendations, and the ability to share and discover useful prompts.

I'd greatly, greatly appreciate your feedback. Thanks for reading this far.



Very interesting. Could you elaborate a bit more on why the previous iteration didn't work out?


Absolutely. So in the previous version you could spin up multiple agents - that each ran a prompt. So for example, you could have an agent named Mark that ran a prompt which had context for your codebase, whereas you could have another agent Amy that had, say, a prompt that would help Amy give you writing feedback.

When you logged into the app then, you'd have to choose the agent to chat with - in the same way you'd choose a teammate to chat with in Slack - based on their area of expertise.

This system works well if you only have a few agents, but once you reach a certain number, it becomes a hassle to determine who to chat with.

Ideally, the user shouldn't care about which agent would response / which prompt is applied, they should just care about what they want, and the system should be smart enough to apply the right context / instructions accordingly.

And this realization led to the redesign.


Hey, Really love how simple and intuitive the UI is. Does is pick the context automatically?


Hey avsavani, thanks!

It doesn't yet, but that's something that we're actively working on. For now, you can simply select the text from you chat that you want to save, or type it out in the "Manage what I know" page.

Feel free to join our Discord server (https://discord.gg/BcG5featTa) - we're here to help.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: