Hello to you All,
I wish to create a switch function that will fetch the model of ChatGPT to be used based on an airtable entry.
Here is the switch function I have created:

Here is the error message I have:

Can anyone help? Is there a list of chatgpt Model IDs?
Thank you so much for your help
Hi @Dan_Biton ,
Could you add a screenshot with the content of model and if it is possible a blueprint of your scenario?
BR,
PBI
2 Likes
What do you mean by content of model? Sorry, just want to make sure I understand you correctly
samliew
4
Looks like you don’t even need a switch statement here.
Just insert the plain variable like this:

Or if you need to remove the single quotes coming from Airtable,

2 Likes