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

What is the best way for a response to come back simply as an integer? So asking, what is the avg. cost of a bagel in new york? I've been able to do it by asking for no text - but wondering if there is an alternative i'm missing.


Few shot learning for sure

“Answer in USD, rounded to the closest integer.

# EXAMPLES What is the average price of a banana? 10

What is the average price of a ticket to see a Star War movie? 1

# QUESTION What is the average price of a bagel in New York?

# ANSWER “




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

Search: