Live data from Hacker News

Samsung bans use of A.I. like ChatGPT for employees

cnbc.com

251–252 of 252 posts

Re: Samsung bans use of A.I. like ChatGPT for employees

#251

Earlier quoted context omitted.

Do you have any tips on how to prompt it right? How do I tell it to write code when it isn’t aware of custom internal classes and APIs?

Edit: my comment might seem out of place now, but the comment I was replying to originally had this paragraph: > I write a lot of code with it and it’s extraordinarily, obviously clear that when prompted right, it increases productivity 2-5x. My company recently banned it and it has been excruciating. Like going back to coding before StackOverflow and Google existed. I would still appreciate any tips in this regards

Give it the context it needs. If you have internal APIs give them a .proto file or whatever you use to define an API. Phrase the question in a way that forces it to explain its thought process. Use chain of thought reasoning. Find documentation online, give it the documentation, then give it your code, then ask it to do something. Frequently spawn new sessions, if ChatGPT is repeatedly giving bad answers start a new session, modify the context, and ask in a different way. Basically you have to brute force it to get it to give you the answers you want on harder problems.

Re: Samsung bans use of A.I. like ChatGPT for employees

#252

Earlier quoted context omitted.

Edit: my comment might seem out of place now, but the comment I was replying to originally had this paragraph: > I write a lot of code with it and it’s extraordinarily, obviously clear that when prompted right, it increases productivity 2-5x. My company recently banned it and it has been excruciating. Like going back to coding before StackOverflow and Google existed. I would still appreciate any tips in this regards

Give it the context it needs. If you have internal APIs give them a .proto file or whatever you use to define an API. Phrase the question in a way that forces it to explain its thought process. Use chain of thought reasoning. Find documentation online, give it the documentation, then give it your code, then ask it to do something. Frequently spawn new sessions, if ChatGPT is repeatedly giving bad answers start a new…

Got it, will try this out. Thank you!
Post reply on HN