OpenAI Block Guide - Personalizing the AI & Choosing the Right Model

Explanation

Most of the time, you want the AI to respond or speak in a certain way. The way to do this is to tell the AI how to speak. However, if you tried to do this within the just the prompt of the block, you might find out it either doesn’t work or is inconsistent.

The proper way to do it, according to OpenAI’s doc is to put that information into ‘developer’. The role ‘developer’ refers to the AI while ‘user’ is what you want to tell the AI or what the user of your app is going to type into the app.

The image below will show the javascript code to do it. The second image will show the equivalent in Thunkable.

If you want to change the way the AI talks, you will modify where the text says ‘Talk like you are a super spy’ to be however you want.

If you want to change the model, simply replace where it says ‘gpt-4o-mini’ with the name of the model you want to use.