News for hackers. Stuff that matters.
Re:ChatML: ChatGPT API expects a structured format, called C... by culiao on Thursday March 02, 2023 @07:31AM (#34994885)
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.
Re:ChatML: ChatGPT API expects a structured format, called C... by alexwebb2 on Thursday March 02, 2023 @07:55AM (#34995082)
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 “