Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you provide an example of what prompts would you use?


Here is a good example:

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.


Note: I tried with GPT-3.5 and it doesn't respond with all the same APIs available. That said, if you want to try the above... It appears that the rates api isn't available in 3.5 but if you follow the example through.... it will still produce nearly identical code for the rates API even though it doesn't say that it is there.




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

Search: