Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: ChatGPT on 2-Dimensional Map (superusapp.com)
175 points by victorsup on April 26, 2023 | hide | past | favorite | 65 comments
I build ChatGPT-2D with the idea to enable people to branch AI conversations interactively, pose contextual questions based on AI response and visualize your entire dialogue on a 2 dimensional map interface. What do you think?



It looks similar to loom https://github.com/socketteer/loom the program that was used in the research behind the simulators essay https://generative.ink/posts/simulators/


It reminded me of the this as well. I have been using this software to better understand prompt engineering.


This is a really good idea, I wish I had thought of it. Thinking of chat as a graph instead of a list is very weird and very cool.

I think this could be especially useful in a research context where someone is trying to evaluate the performance of a model. Sometimes you just want to compare how a model responds with and without certain context, and doing so with the classic UI is cumbersome.


[weird and cool] that's the best compliment for any hacker! Thx mate, you just made my day


This has been done a few times in the past few months, here’s a nice one: https://creativity.ucsd.edu/ai


I’d be interested to see this expressed as a Lie (pronounced “Lee”) Algebra personally.

https://en.m.wikipedia.org/wiki/Lie_algebra


To be clear; what you say you're interested in seeing is having this graph structure (a singly rooted n-ary tree) expressed as a, and I quote “a vector space 𝔤 together with an alternating bilinear map 𝔤 × 𝔤 → 𝔤 that satisfies the Jacobi identity”

Riiight


Yea I want to see the 2d non-spatial map have spacialized properties within the self-contained g-space.

That is right. Is saying it in big words somehow more confusing for you?

Basically Jacobi identity would be about things like disambiguations on Wikipedia so again… are you just intimidated by words you don’t know or something? That makes me sad for you.


the jacobi identity is [x,[y,z]] - [[x,y],z] = [y,[x,z]] ie. it says the lie (pronounced "lee") bracket is almost associative but you have to add a [y,[x,z]] when you rearrange brackets. it has absolutely nothing to do with disambiguations.

hope that helps lol


Why?


can you elaborate?


About what in particular?

It seems you’re making a https://en.m.wikipedia.org/wiki/Hierarchy_(mathematics) which isn’t dimensional in any nature. It’s like saying that hacker news is a “2d forum”…

Anyway ordering it more like https://en.m.wikipedia.org/wiki/Power_set

Just seems natural to me. Information typically isn’t hierarchal outside of artificial structures.


It's a tree laid out more-or-less intuitively (like a mind map) on a two dimensional plane which someone is calling a map (you can quibble with the term "map" if you like but it's not a mind-bendingly incomprehensible term) in this context. It's not a power set, there would appear to be multiple singly rooted n-ary trees. You start with an initial query (the root node) and the generated ChatGPT responses (they are called cards here) branch out like a tree rather than being a linear back-and-forth convo – structured like, as I said, a mind map https://en.wikipedia.org/wiki/Mind_map


It could also just be used to understand basic concepts with detail. The subcategories and different "priority" you can make with this mindmap layout is strong!


Think it's great


I like the idea. Most people would probably recognise this as a concept map - perhaps a name like ConceptGPT would resonate more than ChatGPT2D.


this is great! Sadly, conceptgpt.com cost $3,499 on godaddy. I already bought chatgpt2d.com, it costs me $12


Tim can afford that :)


Who is Tim? Tim Cook?


You have probably one of the best landing pages I have seen in a long time for a new product. There's no BS, in 10 seconds I can understand what the idea is about. Well done!


It was two-hour work (with the help of AI, of course). I was inspired by Midjourney (credit to them). But, yeah, as a nerd, I do not know how to bullshit. So I thought it's easier (for me) just to put the demo video and a tagline. Didn't even bother to write a description.


I've been working on something very similar in the past three weeks. Just out of curiosity, what have you used for the layout?

In my project I used reactflow for all things graph and dagre for the layouting (together with some custom hooks to make it work with variable size nodes).

I'm not sure if I will try to monetise it or if I will simply open-source it. Probably the latter because when building time is over and marketing time starts, I get very bored and lose interest soon.


I'm really enjoying the Superus-101 playground for newbies! I've been playing around with it for a while now, and I find it really helpful for brainstorming. However, I did notice that the waiting time for a response can be a bit long. Do you think it would be possible to implement streaming and concurrent modes for generating new nodes in the graph?


Hey! Glad you're enjoying the Superus-101 playground ! The waiting time (ragard a single thread) is actually dependent on OpenAI, with avg wait around 8-15 sec , not much I can do there. But, concurrent threads? Cool idea, definitely worth exploring! Thanks!


The first tokens start coming back sooner though if you can stream content.


Very cool! Could definitely see myself using this. Out of curiosity, what's the visualization library you're using to generate the boxes/lines/zoom in-out canvas? Or is that all native to your app? Building something unrelated and looking for something like this


seems to use https://anseki.github.io/leader-line/ for line rendering


you are correct


No library, built it from scratch


Man this is cool.

I did this manually myself to explore some topics I was curious about: I'd copy&paste responses into a Google doc, and then add sub and subsubsections with answers to sub-questions.

Will give it a spin!


Whimsical, a diagram tool, has a new feature that works a little like this but you have to do a bit more work, I've been enjoying it. I'll have to give this a go, thanks op!


I like this. I've done something similar by asking chatgpt to map out some ideas for me. It knows how to output into the `dot` format which makes the result easy to post-process.


a visual parser for chatgpt output


Nice. Is there a similar UI that allows to go back in chat history and branch from there? Re-entering initial prompts is quite inconvenient


You can edit any of your messages in ChatGPT and the chat will start from there. Not quite branching, because you will lose the old "branch".


You don’t actually lose the old branch! You can use the arrows that appear to flip through each branch, at any level


Very nice idea/design. I have to ask :) Are you using a custom layout algo for drawing the nodes labels in the directed graph?


I implemented a very simple one for now, nothing too complicated. Some users are already "complaining" they need smarter auto-positioning algorithm


Haha, The fact people are taking time to complain is a good sign of engagement.

Looks like fixed spacing along x and letting the cards float along y which is very effective.

I have sometimes wondered why there isn't more convergence for a standard set of primitives/libraries/template engines for drawing graphs on the web.

graphviz .dot files would seem to be a natural DSL and then there are packages like dagre/mermaid but italways seems like for applications you need to end up rolling your own.


Nice idea but full of dark patterns that made me not trust them enough to actually test the product.


man, I used dark mode for everything...


This tool really helps visual thinkers! Yeah, I'm a fan! ;)


This is a great idea, well done! Nice and simple but very useful!


Can we have this in 3d :) VR please :) webXR would be lovely :)


I will DM Tim Cook, and make sure ChatGPT-3D releases on the WWDC with the apple AR/VR device.


boss :)


"MapGPT" or "NodeGPT"


MapGPT.com/ai & NodeGPT.com/ai are both sold...


wonder what it means for these domains if GPT is trademarked?


How do I remove items from the map?


Ok found it; select item and press del on the keyboard.


select a text card and use backspace/delete key


paying more than AI itself .....hate paying month after month fees while I picture the developer sitting on a beach drinking pina coladas


terrific idea! will do that if this makes money, lol


there are no developers sitting on a beach drinking pina coladas


However Pina Coladas are easy to make and a delicious summer treat, with or without alcohol. To make them extra special, cut open a coconut and use a stick blender to make them fresh in the shell!

They require very few ingredients, and none of the ingredients are special to just making cocktails, making Pina Coladas an easily accessible drink to create.

They are also, at their heart, dirt cheap. Canned coconut cream, heat and mix in some sugar to make a coconut cream syrup if so desired, or if you don't mind it less sweet skip this step. Add in some canned pineapple, and some rum, and you have a basic version down.


This resp has very chatgpt tone of voice…


Not sure if I should be insulted or not.

For reference, here is what happens when I ask ChatGPT for a pina colada recipe in a conversational tone

Here's what you'll need:

1 1/2 oz of your favorite rum 2 oz of pineapple juice 2 oz of coconut cream 1 cup of crushed ice A slice of pineapple (if you have it) A cherry (if you want to be fancy) And here's what to do:

1. Put all of the ingredients (rum, pineapple juice, coconut cream, and crushed ice) into a blender.

2. Blend everything together until it's nice and smooth.

3. Pour the mixture into a glass.

4. If you want to make it look extra special, put a slice of pineapple on the rim of the glass and add a cherry on top.

5. Sip and enjoy!

If you like your drinks on the sweeter side, you can add some sugar or simple syrup to the blender before you blend everything together. And if you don't have coconut cream, you can use coconut milk instead, but the drink won't be as creamy.

----

In general, it completely fails at being conversational at all about it!


As an AI assistant I can't comment on posting recipe comments from AI on HN, but here are the steps for doing it:

1...


true


I bet there are many developers drinking diet coke :)


I think people who say this have never coded outside. Keyboards and sand do not work together.


not what i was saying whatsoever. saying they write the code, and then they collect monthly service fees for something they already did. The SAS model is way over done, and imo this is an example of reiterates that.


Did you try building a SAAS service?

I built a successful one, and sure - it gave me a decent income for 10 years after the initial 1 year of working on it. But altogether it was around €0.5M over it's lifetime, and it took me 5-10 years of unsuccessful projects to finally do one that succeeds.

It is a common experience as well. That's where the saying comes from that "it takes 10 years for an overnight success".

Also, the difference is in payout. When you work for someone, you get paid monthly. When you work on your own thing, you get literal 10 years of people making fun of you and saying "why don't you find a real job", and then - if you succeed - you get the same people complaining that you drink pina coladas.

I've been to the bay area, and it's the most work-intense environment I've ever seen. There is no easy money there.


and screens not bright enough under sun. (Speaking from real experience)




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: