Better HN
topnewbestaskshowjobs
Log inSign up

hqmhqm

0 karma · joined Dec 14, 2023 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

I am trying to use the HTTP API. I asked this simple question "How many fingers does a baby have?" and all I get is the empty reponse: [{'candidates': [{'content': {'role': 'model'}, 'finishReason': 'OTHER'}]}, {'candidates': [{'content': {'role': 'model'}, 'finishReason': 'OTHER'}], 'usageMetadata': {'promptTokenCount': 3, 'totalTokenCount': 3}}]

If I use their example "Give me a recipe for banana bread.", it returns a recipe.

Why won't it answer a simple question about number of fingers?