Template GPT - missing the Title when updating to new model

I have everything working in the Template GPT (awesome btw) except the Title in the History. I had to update to a new model since the v3 used initially to create the Title was deprecated.

So, not at all sure what I’m missing. I have the old template open and looking and trying to get the same fields and variables set.

In the workflow:
Action: Generate Title for History


And Formula is:
Ask OpenAI.result[‘choices’][0][‘message’][‘content’]

Error I’m getting under the formula is:
“Cannot read properties of undefined (reading ‘result’)”

Thanks!

I will answer you tomorow if needed but TLDR :

1 Like

Ask OpenAI.result[‘choices’][0][‘message’][‘content’]
With this, your Title will be based on only the first message and not the whole current conversation

1 Like