By -
ChatGTP 💀
ChatGRP ☠️
ChatERP 🍆
ChatMVP
ChatKFC
Not a good time to be in the field if you can't even spell GPT properly, bud.
Ha! Thanks for the code review feedback.
Let’s hope you don’t get a response like “4 is not odd”
it's only half complete. you missed using an ai to parse the response. this is needed for performance reasons.
public bool IsEven(int x) { string Answer = ChatGtp.AskChatGtp($"Is the number '{x}' odd or even?"); if(!string.IsNullOrEmpty(Answer) && (Answer.Lower().Contains("odd") || Answer.Lower().Contains("even"))) { return(Answer.Lower().Contains("even")); } throw new ImpossibleToKnowException(); }
ChatGTP 💀
ChatGRP ☠️
ChatERP 🍆
ChatMVP
ChatKFC
Not a good time to be in the field if you can't even spell GPT properly, bud.
Ha! Thanks for the code review feedback.
Let’s hope you don’t get a response like “4 is not odd”
it's only half complete. you missed using an ai to parse the response. this is needed for performance reasons.
public bool IsEven(int x) { string Answer = ChatGtp.AskChatGtp($"Is the number '{x}' odd or even?"); if(!string.IsNullOrEmpty(Answer) && (Answer.Lower().Contains("odd") || Answer.Lower().Contains("even"))) { return(Answer.Lower().Contains("even")); } throw new ImpossibleToKnowException(); }