How to set System instructions for Gemini

I’ve relied on HTTP modules so far to ping Gemini but it’s cumbersome for multipart prompts and requires making previous outputs JSON-safe before using with HTTP.

So I’m looking to switch to a dedicated Gemini module but hitting a problem that neither Google Vertex AI, nor partner-supported Gemini module allow you to set a system message.

This functionality is available in the API and I use it in every single API call but, for some unknown reason, it hasn’t been added in those Gemini modules.

Am I missing something or is there a way to use system instructions there? Or was this functionality not added on purpose?

Feels weird because rarely-used stuff like Top K is right there, while commonly used system instruction isn’t.

Thanks!

Hello @khteh,
The Google Gemini AI Module in Make is Verified but not officially created by Google.
It’s created by one of the Make Partners, See more details on the module page.

Currently, they support only 3 actions. Maybe it’s still on the Development.

I think you should try Make an API Call. Set custom prompt with system instructions.

I know this is not a perfect answer but it helps to move progress. :+1:

Right, but Google Vertex AI (Gemini) is supported and maintained by Make.

Make an API call is no different than just using an HTTP module so it’s clearly not a great solution.

Welcome to the Make community!

The system field is definitely missing! I’m sure others would agree that this is an important feature to have.

You can submit this suggestion to the Idea exchange, under App improvement ideas so that the Make Staff can put that in.

Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.
Screenshot_2024-01-17_130153

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

Much appreciated, just added it to the Idea Exchange!