Ask HN: How are you using GPT to be productive?
629 pointsWith GPT so hot in the news right now, and seeing lots of impressive demos, I'm curious to know, how are you actively using GPT to be productive in your daily workflow? And what tools are you using in tandem with GPT to make it more effective? Have you written your own tools, or do you use it in tandem with third party tools?
I'd be particularly interested to hear how you use GPT to write or correct code beyond Copilot or asking ChatGPT about code in chat format.
But I'm also interested in hearing about useful prompts that you use to increase your productivity.
Comments (735) 221 threads
Show all comments
Showing thread 6 of 221
For public APIs, I ask to make sure its aware of the api. Then I ask for endpoints. I find the endpoint I want. Then I ask it to code a request to the endpoint in language X (Ruby, Python, Elixir). It then gives me a starting point to jump off from.
Thirty seconds of prompt writing saves me about 20 minutes of getting setup. Yes, I have to edit it but generally it is pretty close.
1) Use Chat GPT in GPT-4 mode. I have found GPT-3 doesn't work in the same way.
2) I ask "What APIs does EasyPost have?"
It will respond with 7+ API endpoints
3) I ask "Can you write code in Ruby for the rates API?"
It responds almost perfectly with workable code from my experience in Ruby.
4) Then I ask "Can you give me that in Elixir?"
It responds with something I think is about 90% right. I am not as familiar with it but it seems close.
I am not trying to replace myself... I am just trying to make my job easier. And this seems to do it.
ChatGPT hallucinates SVG path attributes. Ask it to make an svg of a unicorn - it will give you markup that looks okay, but if you look at the values of the paths, it's clearly gibberish.
(SVG is a particularly interesting case because it's XML on the outside, but several attributes are highly structured, esp g.transform and path.d. Path.d is basically the string of a Logo-like programming language. I was specifically looking at these attributes for realism, and didn't find it.)
Continue this thread — 1 reply
I don't know whether that is because that is a common way of doing things or whether a previous prompt responded with a bearer token... But it wasn't right.
For me, it's a leaping off point that often saves time if I ask the right question. To your point, you have to be quick to know enough about the API to deduce whether you and Chat GPT are in the same universe.
This is the sort of thing that will force a lot of legal teams to shutdown access to GPT-4 api/gui from internal networks.
Ppl never think of unintended consequences.
Ask it a prompt fine but don't provide internal information as an input.
That said,I think it will be interesting as Microsoft introduces this into Office 365. You bring up a great point. Most people will not realize they are sending potentially confidential information to Microsoft.
Perhaps it's no different than Grammarly... But I think you are right that legal departments are going to be all over this.
Continue this thread — 2 replies
If they put it in Office and guarantee siloing information the legal departments will just have a regular contract to review and approve.
Continue this thread — 3 replies
I built a free ChatGPT chrome extension that integrates with Gmail for better UX: https://chatgptwriter.ai (300k users so far)
Since it went to the trouble of writing code for the API as well, I contacted the API developers to follow up about the topic. The code given was kind of a hand-wave anyway so I'd need to polish it up.
The developers were surprised to hear they had an API. In truth, there was no such thing.
I then found myself in one of those awkward "welp, guess I can keep my job" conversations...good for them, but for me: Go home, no API here. A disappointment with some meta-commentary sprinkled on top.
Continue this thread — 4 more replies
Continue this thread — 1 more reply