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

Use few-shot learning. Build a simple prompt with basic examples of how to use the API and it will do significantly better.

LLMs just guess, so you have to give it a cheatsheet to help it guess closer to what you want.



At this point the time it takes to teach the model might be more than you save from using it for interacting with that API.


I'm using repomix for this




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

Search: