Create two if-then-else columns:
– Call the first one something like ifTeacher
— If Summary Style is Teacher, then UL_SpeechToText
– Call the second one ifInterview
— If Summary Style is Interview, then UL_SpeechToText
Now for each of your AI columns, configure as follows:
If the column should only run when the Summary Style is Teacher, configure it to use the ifTeacher column
If the column should only run when the Summary Style is Interview, configure it to use the ifInterview column
If the column should always run, configure it to use the UL_SpeechToText column.
Great! Took us a little while to get there, but we did in the end
Essentially what @slscustom.ru was getting at there (I believe) is that you could have the if-then-else column output the correct AI prompt based on the selected Summary Style, and then reduce the total number of AI columns required.
Glide only calculates what it needs to show your screen, EXCEPT when you’re looking at the data editor—then it calculates everything. If you don’t display the results of using OpenAI, they won’t get generated in the app. If the If-Else doesn’t choose the unused prompt completion, it doesn’t get called.
So if I use the visibility function for the frontend to only show a certain column from a row , they will be the only ones that run on the data sheet? Effectively not needing the IF-Else columns then?