How to get Gemini API retrieve a longer answer?

Dear community experts,

I tried to prompt Gemini to return a meditation script of 4,000 words. The maximum I was able to get in response was 1,300 words. Have any of you encountered this issue? I’d love to hear creative solutions from my fellow community members.

Much appreciated
Ofer

1 Like

Welcome to the Make community!

You need to both

  1. Select a model with a large output token window, and

  2. Increase the max token limit, and

  3. Probably also use a more detailed prompt

Output (3k words):

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like

Thank you so much @samliew , can you please elaborate on 1 & 2.
If you can please also share a screenshot for them, this would be very helpful :slight_smile:

Thank you so much for your kind help,
Ofer

Did you know, this forum has a Hire a Pro category, where you can post your request for off-site specialised help on other platforms (video call/screenshare/private messaging/etc.)? This may help you get your issue resolved faster especially if it is urgent. It is important to post your request in the Hire a Pro category, as forum members are not allowed to advertise their services (even offer FREE assistance to help) in other categories like here. Once you have posted in the Hire a Pro category, that will allow other members like me to provide booking links to our calendars for a free consultation and video assistance (including screenshare)

@samliew