Technology
August 29, 2025
2 min read

Mastering Gemini: Innovative Strategies for Hebrew Language Model Optimization

Some Prompt Engineering and Working with Gemini In our work, we often use “Act As” prompts to make the model behave like a certain character. Usually,...

Some Prompt Engineering and Working with Gemini

In our work, we often use “Act As” prompts to make the model behave like a certain character. Usually, we start by trying to find ready-made prompts and then adjust them according to conversations with the bot. Here are some sources for initial prompts:

When I start the conversation, there’s a fairly high likelihood that the model will think it needs to start with an example, especially with Gemini, where you currently can’t set a context. The solution I’m currently using is to ignore the model’s first message — when working with the API, I simply don’t show it to the user, and start with my own opening message. After that, the model understands that it’s in a conversation and behaves like the character we defined for it.

Attaching a screenshot for demonstration, the model decides it needs to give an example, which of course I don’t show to the user. The screenshot is from Gemini’s Playground (which does not support RTL).

I’d love to hear what you thought or any better ideas you’re using.

I’d love to hear more insights or questions you have about using language models in Hebrew.

If you want to see more posts about our work at Tov-Tech, feel free to follow us on LinkedIn: https://www.linkedin.com/in/raz-hadas/

Mastering Gemini: Innovative Strategies for Hebrew Language Model Optimization | TovTech Blog