Hi, I have this:
And still get this:
The values are coming from an OpenAi prompt so they’re a bit unpredictable. Is it not recognising 'Unavailable" as ‘unavailable’? If so how do I avoid?
Hi, I have this:
And still get this:
Hey @Jon_Bowles
Can you please share the blueprint of your scenario.
blueprint.json (38.9 KB)
You have to write “Unavailable” with capital “U” not with small “u”.
What about if the response (as it usually is) is lowercase u? I just wondered if the ‘replace’ was case-sensitive. I’ve remedied it in the prompt anyway, but thanks.
Use “startcase” function inside the “replace” function.
Thankyou, I actually wanted it all lower case, but you put me on the right path, I used ‘lower()’ instead.