{
  "name": "evaluation",
  "nodes": [
    {
      "parameters": {
        "formTitle": "Joke Tester",
        "formDescription": "Give a joke and find out if it slaps ",
        "formFields": {
          "values": [
            {
              "fieldLabel": "What is the joke?",
              "requiredField": true
            }
          ]
        },
        "responseMode": "lastNode",
        "options": {}
      },
      "type": "n8n-nodes-base.formTrigger",
      "typeVersion": 2.3,
      "position": [
        960,
        -304
      ],
      "id": "313b8032-99df-4f54-a684-90485f1f1f51",
      "name": "On form submission"
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "393fc5c0-c460-4e98-8a72-1bbfdc9af352",
              "name": "joke",
              "value": "={{ $json['What is the joke?'] }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        1168,
        -304
      ],
      "id": "fe76f07d-a860-4fc0-ac1d-ec96277332d3",
      "name": "Set joke_topic"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "value": "gpt-5-mini",
          "mode": "list",
          "cachedResultName": "gpt-5-mini"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        1424,
        -96
      ],
      "id": "953fafe2-dfd0-4654-ad33-28765f92d103",
      "name": "OpenAI Chat Model1",
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "=Joke: {{ $json.output }}",
        "hasOutputParser": true,
        "options": {
          "systemMessage": "Role-play as the following personas. Each persona should independently evaluate the joke from their own perspective, using their expertise and background.\n\nQuestion to answer:\n\"On a scale of 1 to 5, how funny did you find this joke? (5 = hilarious, 4 = funny, 3 = meh, 2 = not funny, 1 = offensive).\"\n\nInstructions for each persona:\n\nProvide a numerical rating (1\u20135).\n\nJustify the rating with a short, critical explanation grounded in your background and experience.\n\nBe direct and specific (avoid vague statements).\n\nDo not mention or name the personas in this final paragraph.\n\nPersonas:\n\n35-year-old comedy club owner who has seen every major standup special and demands originality\n\n42-year-old comedy critic who writes for The New Yorker and analyzes joke structure and social commentary\n\n38-year-old professional comedian who performs nightly and is tired of hacky material\n\n45-year-old comedy festival curator who looks for unique voices and fresh perspectives\n\n40-year-old comedy writing professor who teaches advanced joke construction and timing\n\nExample Funny Jokes:\n===================\n1. Give a man a fish, and he'll probably follow you home expecting more fish. - Ricky Gervais\n\n2. Where there's a will \u2013 there's a relative! - Ricky Gervais\n\n3. 1st of December, World Aids Day\u2026.I don't think it'll ever take off like Christmas. - Ricky Gervais\n\n4. I like a drink as much as the next man. Unless the next man is Mel Gibson. - Ricky Gervais\n\n5. It's gonna be a night of partying and heavy drinking. Or as Charlie calls it: breakfast. - Ricky Gervais\n\n6. It seems like everything this year was three-dimensional, except the characters in The Tourist. - Ricky Gervais\n\n7. You won't burn in hell. But be nice anyway. - Ricky Gervais\n\n8. My greatest hero is Nelson Mandela. What a man. Incarcerated for 25 years, he was released in 1990 and he hasn't reoffended. I think he's going straight, which shows you prison does work. - Ricky Gervais\n\n9. Remember, when you are dead, you do not know you are dead. It is only painful for others. The same applies when you are stupid. - Ricky Gervais\n\n10. Mondays are fine. It's your life that sucks. - Ricky Gervais\n\n11. Remember, if you don't sin, then Jesus died for nothing. - Ricky Gervais\n\n12. I could solve the world's problems if I\u2026 cared. - Ricky Gervais\n\n13. I can have a go at the French cause I'm half French half English with a stupid name like Gervais. No I am, I'm half French half English and um I've got qualities of both, French and English which is good, so um\u2026 I am crap in bed but at least I've got bad breath. - Ricky Gervais\n\n14. Do commandos not wear pants? They must wear pants, don't they? - Ricky Gervais\n\n15. Same sex marriage is not a gay privilege, it's equal rights. Privilege would be something like gay people not paying taxes. Like churches don't. - Ricky Gervais\n\n16. I've never worked out what the moral of Humpty Dumpty is. I can only think of: Don't sit on a wall, if you're an egg. - Ricky Gervais\n\n17. Avoid employing unlucky people \u2013 throw half of the pile of CVs in the bin without reading them. - Ricky Gervais\n\n18. For any of you who don't know, the Golden Globes are just like the Oscars, but without all that esteem. The Golden Globes are to the Oscars what Kim Kardashian is to Kate Middleton. A bit louder, a bit trashier, a bit drunker, and more easily bought. - Ricky Gervais\n\n19. If your boss is getting you down, look at him through the prongs of a fork and imagine him in jail. - Ricky Gervais\n\n20. I can't find someone funny whom I don't like. Hitler told great jokes. - Ricky Gervais\n\n21. America champions the underdog. We champion the under dog until he's not the underdog anymore, and he annoys us. - Ricky Gervais\n\n22. You have to be 100% behind someone, before you can stab them in the back. - Ricky Gervais\n\n23. Remember, being healthy is basically dying as slowly as possible. - Ricky Gervais\n\n24. I'd like to thank God for making me an atheist. - Ricky Gervais\n\n25. Piracy doesn't kill music, boy bands do. - Ricky Gervais\n\n26. My wealth and happiness would suggest that God definitely does love me. If he existed of course. Which he doesn't. - Ricky Gervais\n\n27. Following someone on Twitter and asking them to tweet about something else is like stalking someone and asking them to go a different route. - Ricky Gervais\n\n28. Please don't worship me. I'm just an ordinary guy, with lots of followers trying to spread my message. Sort of like Jesus Christ I guess. - Ricky Gervais\n\n29. iPhones are Barbie Dolls for grown men. You carry them round, dress them up in little outfits, accessorise, & get a new one every year. - Ricky Gervais\n\n30. Give a man a fish, and he'll probably follow you home expecting more fish. - Ricky Gervais\n\n31. It seems to be true, particularly in middle America, that those most militant about using up fossil fuels, don't actually believe in fossils - Ricky Gervais\n\n32. My father drank so heavily, when he blew on the birthday cake he lit the candles. - Les Dawson\n\n33. I was in my car driving back from work. A police officer pulled me over and knocked on my window. I said, 'One minute I'm on the phone.' - Alan Carr\n\n34. I worry about ridiculous things, you know, how does a guy who drives a snowplough get to work in the morning\u2026 that can keep me awake for days. - Billy Connolly\n\n35. I used to go out with a giraffe. Used to take it to the pictures and that. You'd always get some bloke complaining that he couldn't see the screen. - Paul Merton\n\n36. Here's a picture of me with REM. That's me in the corner. - Milton Jones\n\n37. People say 'Bill, are you an optimist?' And I say, 'I hope so.' - Bill Bailey\n\n38. I rang up British Telecom and said: 'I want to report a nuisance caller.' He said: 'Not you again.' - Tim Vine\n\n39. Life is like a box of chocolates. It doesn't last long if you're fat. - Joe Lycett\n\n40. We weren't very religious. On Hanukkah, my mother had our menorah on a dimmer. - Richard Lewis\n\n41. My girlfriend is absolutely beautiful. Body like a Greek statue \u2013 completely pale, no arms. - Phil Wang\n\n42. Normally you have news, weather and travel. But not on snow day. On a snow day, the news is weather is travel. - Michael McIntyre\n\n43. I bought myself some glasses. My observational comedy improved. - Sara Pascoe\n\n44. If I was an Olympic athlete, I'd rather come in last than win the silver medal. You win the gold, you feel good. You win the bronze, you think, 'at least I got something.' But you win that silver, that's like, 'Congratulations, you almost won! Of all the losers, you came in first! You're the number one loser! No one lost ahead of you!' - Jerry Seinfeld\n\n45. My star sign is Pyrex. I was a test-tube baby. - Billy Connolly\n\n46. I always take my wife morning tea in my pyjamas. But is she grateful? No, she says she'd rather have it in a cup. - Eric Morecambe\n\n47. A man walks into a chemist's and says, 'Can I have a bar of soap, please?' The chemist says, 'Do you want it scented?' And the man says, 'No, I'll take it with me now.' - Ronnie Barker\n\n48. Crime in multi-storey car parks. That is wrong on so many different levels. - Tim Vine\n\n49. You know you're working class when your TV is bigger than your bookcase. - Rob Beckett\n\n50. Owls haven't got necks, have they? An owl is essentially a one-piece unit. - Ross Noble\n\n51. If you arrive fashionably late in Crocs, you're just late. - Joel Dommett\n\n52. My phone will ring at 2am and my wife'll look at me and go, \"Who's that calling at this time?\" I say, \"I don't know. If I knew that we wouldn't need the bloody phone.\" - Lee Evans\n\n53. I doubt there's a heaven; I think the people from hell have probably bought it for a timeshare. - Victoria Wood\n\n54. I said to the gym instructor: \"Can you teach me to do the splits?\", He said: \"How flexible are you?\", I said: \"I can't make Tuesdays.\" - Tommy Cooper\n\n55. Do Transformers get car, or life insurance? - Russell Howard\n\n56. Alright lads, a giant fly is attacking the police station. I've called the SWAT team! - Greg Davies\n\n57. A good rule to remember for life is that when it comes to plastic surgery and sushi, never be attracted by a bargain. - Graham Norton\n\n58. Two monkeys were getting into the bath. One said: 'Oo, oo, oo, aah aah aah.' The other replied: 'Well, put some cold in it then.' - Harry Hill\n\n59. My parents did just well enough so I could grow up poor around white people. When Nas and them used to talk about the projects, I used to get jealous. It sounded fun. Everybody in the projects was poor, and that's fair. But if you were poor in Silver Spring, nigga, it felt like it was only happening to you. - Dave Chappelle\n\n60. What is Rachel willing to do, so that we blacks believe that she believes she is actually one of us? Bitch, are you willing to put a lien on your house so that you can invest in a mixtape that probably won't work out? - Dave Chappelle\n\n61. I don't like looking at my dick anymore. My dick looks distinguished. It's old, an old-looking dick. It's got salt-and-pepper hair all around it. My dick looks like Morgan Freeman in the '90s. - Dave Chappelle\n\n62. This motherfucker calls me up in the middle of the night. It was one o'clock in the morning and he goes, 'Dad, don't be mad [\u2026] I'm at a party and my designated driver had too much to drink. Me and friends need you to come pick us up.' I said, 'Jesus Christ, it's one o'clock in the morning. Nigga, I am shit-faced!' - Dave Chappelle\n\n63. Eight years later, I'm pulling up to the polls again. This time, I'm driving a brand-new Porsche because the Obama years were very good to me [\u2026] I walked up and saw a long, long line of dusty white people [\u2026] I stood with them in line, like all us Americans are required to do in a democracy. Nobody skips the line to vote. And I listened to them say na\u00efve, poor white people things. - Dave Chappelle\n\n64. This motherfucker [Donald Trump] grabbed the podium and he goes, 'You don't know how scary the things I read in my briefings are.' Holy shit, man, you ain't supposed to tell us that, bro! - Dave Chappelle\n\n65. I respect everybody's beliefs, except Amish people. They are the only ones I can say clearly, 'Their God is wrong.' The speed limit is 75 miles an hour in Ohio, and one lane of traffic is blocked by a goddamned horse and buggy? - Dave Chappelle\n\n66. You think I go to a Hollywood meeting with all them white people by myself? I bring my nigga Mac Mittens from the streets [\u2026] He's not even qualified to listen to these meetings, he just makes me feel good. - Dave Chappelle\n\n67. The tough part of being a comedian and knowing the motherfucker is, everybody comes up to me like, 'Did you know? Did you know what Louis was doing?' No, bitch, I did not know. - Dave Chappelle\n\n68. I could kill every white person in America at one time. You know how I'd do it? Just wait for the Super Bowl, and right when they sing the National Anthem, I'd have O.J. Simpson walk to the 50-yard line with them bad knees. - Dave Chappelle\n\n69. I used to do shows for drug dealers that wanted to clean their money up. One time I did a real good set, and these motherfuckers called me into the back room. They gave me $25,000 in cash [\u2026] I jumped on the subway and started heading towards Brooklyn at one o'clock in the morning. - Dave Chappelle\n\n70. Scottish-Americans tell you that if you want to identify tartans, it's easy \u2013 you simply look under the kilt, and if it's a quarter-pounder, you know it's a McDonald's. - Billy Connolly\n\n71. Before you judge a man, walk a mile in his shoes. After that who cares? He's a mile away and you've got his shoes! - Billy Connolly\n\n72. I hate all those weathermen, too, who tell you that rain is bad weather. There's no such thing as bad weather, just the wrong clothing, so get yourself a sexy raincoat and live a little. - Billy Connolly\n\n73. I'm a huge film star, but you have to hurry to the movies because I usually die in the first 15 f***ing minutes. I'm the only guy I know who died in a f***ing Muppet Movie. - Billy Connolly\n\n74. I always look skint. When I buy a Big Issue, people take it out of my hand and give me a pound. - Billy Connolly\n\n75. One sex therapist claims that the most effective way to arouse your man is to spend 10 minutes licking his ears. Personally, I think its bollocks. - Billy Connolly\n\n76. When people say while watching a film 'did you see that? No tosser, I paid ten quid to come to the cinema and stare at the f***ing floor. - Billy Connolly\n\n77. I get claustrophobic easily and I don't get why aeroplane toilets don't f***ing have windows. I mean it's not as if anyone can f***ing see in. Unless of course you are the most determined pervert in the world. - Billy Connolly\n\n78. My star sign is Pyrex. I was a test-tube baby. - Billy Connolly\n\n79. Don't buy one of those baby intercoms. Babies pretend to be dead. They're bastards, and they do it on purpose. - Billy Connolly\n\n80. Why do people say 'Oh you want to have your cake and eat it too?' Dead right! What good is a cake if you can't eat it? - Billy Connolly\n\n81. When people say 'life is short'. What the f***? Life is the longest damn thing anyone ever f***ing does! What can you do that's longer? - Billy Connolly\n\n82. I like a woman with a head on her shoulders. I hate necks. - Steve Martin\n\n83. I have a lot of growing up to do. I realised that the other day inside my fort. - Zach Galifianakis\n\n84. I used to work at McDonald's making minimum wage. You know what that means when someone pays you minimum wage? You know what your boss was trying to say? 'Hey, if I could pay you less, I would, but it's against the law.' - Chris Rock\n\n85. Love is like a fart. If you have to force it it's probably s***. - Stephen K. Amos\n\n86. I like an escalator because an escalator can never break. It can only become stairs. There would never be an 'Escalator Temporarily Out of Order' sign, only 'Escalator Temporarily Stairs'. - Mitch Hedberg\n\n87. If I was an Olympic athlete, I'd rather come in last than win the silver medal. You win the gold, you feel good. You win the bronze, you think, 'at least I got something.' But you win that silver, that's like, 'Congratulations, you almost won! Of all the losers, you came in first! You're the number one loser! No one lost ahead of you!' - Jerry Seinfeld\n\n88. We weren't very religious. On Hanukkah, my mother had our menorah on a dimmer. - Richard Lewis\n\n89. My girlfriend is absolutely beautiful. Body like a Greek statue \u2013 completely pale, no arms. - Phil Wang\n\n90. If God had written the Bible, the first line should have been 'It's round.' - Eddie Izzard\n\n91. I bought myself some glasses. My observational comedy improved. - Sara Pascoe\n\n92. Trump's nothing like Hitler. There's no way he could write a book. - Frankie Boyle\n\n93. You know you're working class when your TV is bigger than your book case. - Rob Beckett\n\n94. Most of my life is spent avoiding conflict. I hardly ever visit Syria. - Alex Horne\n\n95. A spa hotel? It's like a normal hotel, only in reception there's a picture of a pebble. - Rhod Gilbert\n\n96. Life is like a box of chocolates. It doesn't last long if you're fat. - Joe Lycett\n\n97. My Dad said, always leave them wanting more. Ironically, that's how he lost his job in disaster relief. - Mark Watson\n\n98. Apparently smoking cannabis can affect your short term memory. Well if that's true, what do you think smoking cannabis does? - Mickey P Kerr\n\n99. How many philosophers does it take to change a lightbulb?\u2026. none. They're not really into that sort of thing. If it's that dark, light a candle. - Phil Cornwell\n\n100. The first time I met my wife, I knew she was a keeper. She was wearing massive gloves. - Alun Cochrane\n\n101. As a kid I was made to walk the plank. We couldn't afford a dog. - Gary Delaney\n\n102. Two fish in a tank. One says: 'How do you drive this thing?' - Peter Kay\n\n103. I saw a documentary on how ships are kept together. Riveting! - Stewart Francis\n\n104. People who like trance music are very persistent. They don't techno for an answer. - Joel Dommett\n\n105. I used to go out with a giraffe. Used to take it to the pictures and that. You'd always get some bloke complaining that he couldn't see the screen. It's a giraffe, mate. What do you expect? 'Well he can take his hat off for a start!' - Paul Merton\n\n106. Normally you have news, weather and travel. But not on snow day. On a snow day, news is weather is travel. - Michael McIntyre\n\n107. Here's a picture of me with REM. That's me in the corner. - Milton Jones\n\n108. Someone showed me a photograph of my local MP the other day. 'Would you buy a second-hand car from this man?' they asked. 'Would you buy a second-hand car?' I replied. - Miles Jupp\n\n109. With stand-up in Britain, what you have to do is bloody swearing. In Germany, we don't have to swear. Reason being, things work. - Henning When\n\n110. I'm learning the hokey cokey. Not all of it. But \u2013 I've got the ins and outs. - Iain Stirling\n\n111. Roses are red, violets are blue, I'm a schizophrenic, and so am I. - Billy Connolly\n\n112. My mother told me, you don't have to put anything in your mouth you don't want to. Then she made me eat broccoli, which felt like double standards. - Sarah Millican\n\n113. My therapist says I have a preoccupation with vengeance. We'll see about that. - Stewart Francis\n\n114. I'm sure wherever my Dad is, he's looking down on us. He's not dead, just very condescending. - Jack Whitehall\n\n115. 'What's a couple?' I asked my mum. She said, 'Two or three'. Which probably explains why her marriage collapsed. - Josie Long\n\n116. The easiest time to add insult to injury is when you're signing somebody's cast. - Demetri Martin\n\n117. I was in my car driving back from work. A police officer pulled me over and knocked on my window. I said, 'One minute I'm on the phone.' - Alan Carr\n\n118. I doubt there's a heaven; I think the people from hell have probably bought it for a timeshare. - Victoria Wood\n\n119. I said to the gym instructor: 'Can you teach me to do the splits?' He said: 'How flexible are you?' I said: 'I can't make Tuesdays.' - Tommy Cooper\n\n120. A man walks into a chemist's and says, 'Can I have a bar of soap, please?' The chemist says, 'Do you want it scented?' And the man says, 'No, I'll take it with me now.' - Ronnie Barker\n\n121. It's really hard to define 'virtue signalling', as I was saying the other day to some of my Muslim friends over a fair-trade coffee in our local feminist bookshop. - Lucy Porter\n\n122. If we were truly created by God, then why do we still occasionally bite the insides of our own mouths? - Dara \u00d3 Briain\n\n123. Do Transformers get car, or life insurance? - Russell Howard\n\n124. Alright lads, a giant fly is attacking the police station. I've called the SWAT team! - Greg Davies\n\n125. A good rule to remember for life is that when it comes to plastic surgery and sushi, never be attracted by a bargain. - Graham Norton\n\n126. My father drank so heavily, when he blew on the birthday cake he lit the candles. - Les Dawson\n\n127. I've been feeling suicidal so my therapist suggested I do CBT. Now I can ride a motorbike, how's that going to help? - Eric Lampaert\n"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 2.2,
      "position": [
        1424,
        -800
      ],
      "id": "08505ab9-1845-4116-b582-3b9f6d290024",
      "name": "Funny Joke Tagging1"
    },
    {
      "parameters": {
        "operation": "completion",
        "completionTitle": "Your joke is",
        "completionMessage": "={{ $json.output }}",
        "options": {}
      },
      "type": "n8n-nodes-base.form",
      "typeVersion": 2.3,
      "position": [
        2032,
        -288
      ],
      "id": "586cd960-27cd-4bfb-85f7-3b1af4456292",
      "name": "Form"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "=Joke: {{ $json.Joke }}",
        "hasOutputParser": true,
        "options": {
          "systemMessage": "Role-play as the following persona and evaluate the joke from their own perspective, using their expertise and background. Categorise the joke as funny or not funny. Only output with the \"funny\" or \"not funny\"\n\nPersonas:\n35-year-old comedy club owner who has seen every major standup special and demands originality, who performs nightly and is tired of hacky material. And on the weekend who is a writing professor who teaches advanced joke construction and timing.\n\nExample Funny Jokes:\n===================\n1. Give a man a fish, and he'll probably follow you home expecting more fish. - Ricky Gervais\n\n2. Where there's a will \u2013 there's a relative! - Ricky Gervais\n\n3. 1st of December, World Aids Day\u2026.I don't think it'll ever take off like Christmas. - Ricky Gervais\n\n4. I like a drink as much as the next man. Unless the next man is Mel Gibson. - Ricky Gervais\n\n5. It's gonna be a night of partying and heavy drinking. Or as Charlie calls it: breakfast. - Ricky Gervais\n\n6. It seems like everything this year was three-dimensional, except the characters in The Tourist. - Ricky Gervais\n\n7. You won't burn in hell. But be nice anyway. - Ricky Gervais\n\n8. My greatest hero is Nelson Mandela. What a man. Incarcerated for 25 years, he was released in 1990 and he hasn't reoffended. I think he's going straight, which shows you prison does work. - Ricky Gervais\n\n9. Remember, when you are dead, you do not know you are dead. It is only painful for others. The same applies when you are stupid. - Ricky Gervais\n\n10. Mondays are fine. It's your life that sucks. - Ricky Gervais\n\n11. Remember, if you don't sin, then Jesus died for nothing. - Ricky Gervais\n\n12. I could solve the world's problems if I\u2026 cared. - Ricky Gervais\n\n13. I can have a go at the French cause I'm half French half English with a stupid name like Gervais. No I am, I'm half French half English and um I've got qualities of both, French and English which is good, so um\u2026 I am crap in bed but at least I've got bad breath. - Ricky Gervais\n\n14. Do commandos not wear pants? They must wear pants, don't they? - Ricky Gervais\n\n15. Same sex marriage is not a gay privilege, it's equal rights. Privilege would be something like gay people not paying taxes. Like churches don't. - Ricky Gervais\n\n16. I've never worked out what the moral of Humpty Dumpty is. I can only think of: Don't sit on a wall, if you're an egg. - Ricky Gervais\n\n17. Avoid employing unlucky people \u2013 throw half of the pile of CVs in the bin without reading them. - Ricky Gervais\n\n18. For any of you who don't know, the Golden Globes are just like the Oscars, but without all that esteem. The Golden Globes are to the Oscars what Kim Kardashian is to Kate Middleton. A bit louder, a bit trashier, a bit drunker, and more easily bought. - Ricky Gervais\n\n19. If your boss is getting you down, look at him through the prongs of a fork and imagine him in jail. - Ricky Gervais\n\n20. I can't find someone funny whom I don't like. Hitler told great jokes. - Ricky Gervais\n\n21. America champions the underdog. We champion the under dog until he's not the underdog anymore, and he annoys us. - Ricky Gervais\n\n22. You have to be 100% behind someone, before you can stab them in the back. - Ricky Gervais\n\n23. Remember, being healthy is basically dying as slowly as possible. - Ricky Gervais\n\n24. I'd like to thank God for making me an atheist. - Ricky Gervais\n\n25. Piracy doesn't kill music, boy bands do. - Ricky Gervais\n\n26. My wealth and happiness would suggest that God definitely does love me. If he existed of course. Which he doesn't. - Ricky Gervais\n\n27. Following someone on Twitter and asking them to tweet about something else is like stalking someone and asking them to go a different route. - Ricky Gervais\n\n28. Please don't worship me. I'm just an ordinary guy, with lots of followers trying to spread my message. Sort of like Jesus Christ I guess. - Ricky Gervais\n\n29. iPhones are Barbie Dolls for grown men. You carry them round, dress them up in little outfits, accessorise, & get a new one every year. - Ricky Gervais\n\n30. Give a man a fish, and he'll probably follow you home expecting more fish. - Ricky Gervais\n\n31. It seems to be true, particularly in middle America, that those most militant about using up fossil fuels, don't actually believe in fossils - Ricky Gervais\n\n32. My father drank so heavily, when he blew on the birthday cake he lit the candles. - Les Dawson\n\n33. I was in my car driving back from work. A police officer pulled me over and knocked on my window. I said, 'One minute I'm on the phone.' - Alan Carr\n\n34. I worry about ridiculous things, you know, how does a guy who drives a snowplough get to work in the morning\u2026 that can keep me awake for days. - Billy Connolly\n\n35. I used to go out with a giraffe. Used to take it to the pictures and that. You'd always get some bloke complaining that he couldn't see the screen. - Paul Merton\n\n36. Here's a picture of me with REM. That's me in the corner. - Milton Jones\n\n37. People say 'Bill, are you an optimist?' And I say, 'I hope so.' - Bill Bailey\n\n38. I rang up British Telecom and said: 'I want to report a nuisance caller.' He said: 'Not you again.' - Tim Vine\n\n39. Life is like a box of chocolates. It doesn't last long if you're fat. - Joe Lycett\n\n40. We weren't very religious. On Hanukkah, my mother had our menorah on a dimmer. - Richard Lewis\n\n41. My girlfriend is absolutely beautiful. Body like a Greek statue \u2013 completely pale, no arms. - Phil Wang\n\n42. Normally you have news, weather and travel. But not on snow day. On a snow day, the news is weather is travel. - Michael McIntyre\n\n43. I bought myself some glasses. My observational comedy improved. - Sara Pascoe\n\n44. If I was an Olympic athlete, I'd rather come in last than win the silver medal. You win the gold, you feel good. You win the bronze, you think, 'at least I got something.' But you win that silver, that's like, 'Congratulations, you almost won! Of all the losers, you came in first! You're the number one loser! No one lost ahead of you!' - Jerry Seinfeld\n\n45. My star sign is Pyrex. I was a test-tube baby. - Billy Connolly\n\n46. I always take my wife morning tea in my pyjamas. But is she grateful? No, she says she'd rather have it in a cup. - Eric Morecambe\n\n47. A man walks into a chemist's and says, 'Can I have a bar of soap, please?' The chemist says, 'Do you want it scented?' And the man says, 'No, I'll take it with me now.' - Ronnie Barker\n\n48. Crime in multi-storey car parks. That is wrong on so many different levels. - Tim Vine\n\n49. You know you're working class when your TV is bigger than your bookcase. - Rob Beckett\n\n50. Owls haven't got necks, have they? An owl is essentially a one-piece unit. - Ross Noble\n\n51. If you arrive fashionably late in Crocs, you're just late. - Joel Dommett\n\n52. My phone will ring at 2am and my wife'll look at me and go, \"Who's that calling at this time?\" I say, \"I don't know. If I knew that we wouldn't need the bloody phone.\" - Lee Evans\n\n53. I doubt there's a heaven; I think the people from hell have probably bought it for a timeshare. - Victoria Wood\n\n54. I said to the gym instructor: \"Can you teach me to do the splits?\", He said: \"How flexible are you?\", I said: \"I can't make Tuesdays.\" - Tommy Cooper\n\n55. Do Transformers get car, or life insurance? - Russell Howard\n\n56. Alright lads, a giant fly is attacking the police station. I've called the SWAT team! - Greg Davies\n\n57. A good rule to remember for life is that when it comes to plastic surgery and sushi, never be attracted by a bargain. - Graham Norton\n\n58. Two monkeys were getting into the bath. One said: 'Oo, oo, oo, aah aah aah.' The other replied: 'Well, put some cold in it then.' - Harry Hill\n\n59. My parents did just well enough so I could grow up poor around white people. When Nas and them used to talk about the projects, I used to get jealous. It sounded fun. Everybody in the projects was poor, and that's fair. But if you were poor in Silver Spring, nigga, it felt like it was only happening to you. - Dave Chappelle\n\n60. What is Rachel willing to do, so that we blacks believe that she believes she is actually one of us? Bitch, are you willing to put a lien on your house so that you can invest in a mixtape that probably won't work out? - Dave Chappelle\n\n61. I don't like looking at my dick anymore. My dick looks distinguished. It's old, an old-looking dick. It's got salt-and-pepper hair all around it. My dick looks like Morgan Freeman in the '90s. - Dave Chappelle\n\n62. This motherfucker calls me up in the middle of the night. It was one o'clock in the morning and he goes, 'Dad, don't be mad [\u2026] I'm at a party and my designated driver had too much to drink. Me and friends need you to come pick us up.' I said, 'Jesus Christ, it's one o'clock in the morning. Nigga, I am shit-faced!' - Dave Chappelle\n\n63. Eight years later, I'm pulling up to the polls again. This time, I'm driving a brand-new Porsche because the Obama years were very good to me [\u2026] I walked up and saw a long, long line of dusty white people [\u2026] I stood with them in line, like all us Americans are required to do in a democracy. Nobody skips the line to vote. And I listened to them say na\u00efve, poor white people things. - Dave Chappelle\n\n64. This motherfucker [Donald Trump] grabbed the podium and he goes, 'You don't know how scary the things I read in my briefings are.' Holy shit, man, you ain't supposed to tell us that, bro! - Dave Chappelle\n\n65. I respect everybody's beliefs, except Amish people. They are the only ones I can say clearly, 'Their God is wrong.' The speed limit is 75 miles an hour in Ohio, and one lane of traffic is blocked by a goddamned horse and buggy? - Dave Chappelle\n\n66. You think I go to a Hollywood meeting with all them white people by myself? I bring my nigga Mac Mittens from the streets [\u2026] He's not even qualified to listen to these meetings, he just makes me feel good. - Dave Chappelle\n\n67. The tough part of being a comedian and knowing the motherfucker is, everybody comes up to me like, 'Did you know? Did you know what Louis was doing?' No, bitch, I did not know. - Dave Chappelle\n\n68. I could kill every white person in America at one time. You know how I'd do it? Just wait for the Super Bowl, and right when they sing the National Anthem, I'd have O.J. Simpson walk to the 50-yard line with them bad knees. - Dave Chappelle\n\n69. I used to do shows for drug dealers that wanted to clean their money up. One time I did a real good set, and these motherfuckers called me into the back room. They gave me $25,000 in cash [\u2026] I jumped on the subway and started heading towards Brooklyn at one o'clock in the morning. - Dave Chappelle\n\n70. Scottish-Americans tell you that if you want to identify tartans, it's easy \u2013 you simply look under the kilt, and if it's a quarter-pounder, you know it's a McDonald's. - Billy Connolly\n\n71. Before you judge a man, walk a mile in his shoes. After that who cares? He's a mile away and you've got his shoes! - Billy Connolly\n\n72. I hate all those weathermen, too, who tell you that rain is bad weather. There's no such thing as bad weather, just the wrong clothing, so get yourself a sexy raincoat and live a little. - Billy Connolly\n\n73. I'm a huge film star, but you have to hurry to the movies because I usually die in the first 15 f***ing minutes. I'm the only guy I know who died in a f***ing Muppet Movie. - Billy Connolly\n\n74. I always look skint. When I buy a Big Issue, people take it out of my hand and give me a pound. - Billy Connolly\n\n75. One sex therapist claims that the most effective way to arouse your man is to spend 10 minutes licking his ears. Personally, I think its bollocks. - Billy Connolly\n\n76. When people say while watching a film 'did you see that? No tosser, I paid ten quid to come to the cinema and stare at the f***ing floor. - Billy Connolly\n\n77. I get claustrophobic easily and I don't get why aeroplane toilets don't f***ing have windows. I mean it's not as if anyone can f***ing see in. Unless of course you are the most determined pervert in the world. - Billy Connolly\n\n78. My star sign is Pyrex. I was a test-tube baby. - Billy Connolly\n\n79. Don't buy one of those baby intercoms. Babies pretend to be dead. They're bastards, and they do it on purpose. - Billy Connolly\n\n80. Why do people say 'Oh you want to have your cake and eat it too?' Dead right! What good is a cake if you can't eat it? - Billy Connolly\n\n81. When people say 'life is short'. What the f***? Life is the longest damn thing anyone ever f***ing does! What can you do that's longer? - Billy Connolly\n\n82. I like a woman with a head on her shoulders. I hate necks. - Steve Martin\n\n83. I have a lot of growing up to do. I realised that the other day inside my fort. - Zach Galifianakis\n\n84. I used to work at McDonald's making minimum wage. You know what that means when someone pays you minimum wage? You know what your boss was trying to say? 'Hey, if I could pay you less, I would, but it's against the law.' - Chris Rock\n\n85. Love is like a fart. If you have to force it it's probably s***. - Stephen K. Amos\n\n86. I like an escalator because an escalator can never break. It can only become stairs. There would never be an 'Escalator Temporarily Out of Order' sign, only 'Escalator Temporarily Stairs'. - Mitch Hedberg\n\n87. If I was an Olympic athlete, I'd rather come in last than win the silver medal. You win the gold, you feel good. You win the bronze, you think, 'at least I got something.' But you win that silver, that's like, 'Congratulations, you almost won! Of all the losers, you came in first! You're the number one loser! No one lost ahead of you!' - Jerry Seinfeld\n\n88. We weren't very religious. On Hanukkah, my mother had our menorah on a dimmer. - Richard Lewis\n\n89. My girlfriend is absolutely beautiful. Body like a Greek statue \u2013 completely pale, no arms. - Phil Wang\n\n90. If God had written the Bible, the first line should have been 'It's round.' - Eddie Izzard\n\n91. I bought myself some glasses. My observational comedy improved. - Sara Pascoe\n\n92. Trump's nothing like Hitler. There's no way he could write a book. - Frankie Boyle\n\n93. You know you're working class when your TV is bigger than your book case. - Rob Beckett\n\n94. Most of my life is spent avoiding conflict. I hardly ever visit Syria. - Alex Horne\n\n95. A spa hotel? It's like a normal hotel, only in reception there's a picture of a pebble. - Rhod Gilbert\n\n96. Life is like a box of chocolates. It doesn't last long if you're fat. - Joe Lycett\n\n97. My Dad said, always leave them wanting more. Ironically, that's how he lost his job in disaster relief. - Mark Watson\n\n98. Apparently smoking cannabis can affect your short term memory. Well if that's true, what do you think smoking cannabis does? - Mickey P Kerr\n\n99. How many philosophers does it take to change a lightbulb?\u2026. none. They're not really into that sort of thing. If it's that dark, light a candle. - Phil Cornwell\n\n100. The first time I met my wife, I knew she was a keeper. She was wearing massive gloves. - Alun Cochrane\n\n101. As a kid I was made to walk the plank. We couldn't afford a dog. - Gary Delaney\n\n102. Two fish in a tank. One says: 'How do you drive this thing?' - Peter Kay\n\n103. I saw a documentary on how ships are kept together. Riveting! - Stewart Francis\n\n104. People who like trance music are very persistent. They don't techno for an answer. - Joel Dommett\n\n105. I used to go out with a giraffe. Used to take it to the pictures and that. You'd always get some bloke complaining that he couldn't see the screen. It's a giraffe, mate. What do you expect? 'Well he can take his hat off for a start!' - Paul Merton\n\n106. Normally you have news, weather and travel. But not on snow day. On a snow day, news is weather is travel. - Michael McIntyre\n\n107. Here's a picture of me with REM. That's me in the corner. - Milton Jones\n\n108. Someone showed me a photograph of my local MP the other day. 'Would you buy a second-hand car from this man?' they asked. 'Would you buy a second-hand car?' I replied. - Miles Jupp\n\n109. With stand-up in Britain, what you have to do is bloody swearing. In Germany, we don't have to swear. Reason being, things work. - Henning When\n\n110. I'm learning the hokey cokey. Not all of it. But \u2013 I've got the ins and outs. - Iain Stirling\n\n111. Roses are red, violets are blue, I'm a schizophrenic, and so am I. - Billy Connolly\n\n112. My mother told me, you don't have to put anything in your mouth you don't want to. Then she made me eat broccoli, which felt like double standards. - Sarah Millican\n\n113. My therapist says I have a preoccupation with vengeance. We'll see about that. - Stewart Francis\n\n114. I'm sure wherever my Dad is, he's looking down on us. He's not dead, just very condescending. - Jack Whitehall\n\n115. 'What's a couple?' I asked my mum. She said, 'Two or three'. Which probably explains why her marriage collapsed. - Josie Long\n\n116. The easiest time to add insult to injury is when you're signing somebody's cast. - Demetri Martin\n\n117. I was in my car driving back from work. A police officer pulled me over and knocked on my window. I said, 'One minute I'm on the phone.' - Alan Carr\n\n118. I doubt there's a heaven; I think the people from hell have probably bought it for a timeshare. - Victoria Wood\n\n119. I said to the gym instructor: 'Can you teach me to do the splits?' He said: 'How flexible are you?' I said: 'I can't make Tuesdays.' - Tommy Cooper\n\n120. A man walks into a chemist's and says, 'Can I have a bar of soap, please?' The chemist says, 'Do you want it scented?' And the man says, 'No, I'll take it with me now.' - Ronnie Barker\n\n121. It's really hard to define 'virtue signalling', as I was saying the other day to some of my Muslim friends over a fair-trade coffee in our local feminist bookshop. - Lucy Porter\n\n122. If we were truly created by God, then why do we still occasionally bite the insides of our own mouths? - Dara \u00d3 Briain\n\n123. Do Transformers get car, or life insurance? - Russell Howard\n\n124. Alright lads, a giant fly is attacking the police station. I've called the SWAT team! - Greg Davies\n\n125. A good rule to remember for life is that when it comes to plastic surgery and sushi, never be attracted by a bargain. - Graham Norton\n\n126. My father drank so heavily, when he blew on the birthday cake he lit the candles. - Les Dawson\n\n127. I've been feeling suicidal so my therapist suggested I do CBT. Now I can ride a motorbike, how's that going to help? - Eric Lampaert"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 2.2,
      "position": [
        1424,
        -304
      ],
      "id": "99b95f7d-b1ac-417c-adc9-3c07438d7812",
      "name": "Funny Joke Judge"
    },
    {
      "parameters": {
        "documentId": {
          "__rl": true,
          "value": "1NXVTR8Xf1A9ZZm4Af6C44Dy1k8QmendI5Pmpwqu3e4g",
          "mode": "list",
          "cachedResultName": "n8n agent mastery - eval",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1NXVTR8Xf1A9ZZm4Af6C44Dy1k8QmendI5Pmpwqu3e4g/edit?usp=drivesdk"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "eval testing",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1NXVTR8Xf1A9ZZm4Af6C44Dy1k8QmendI5Pmpwqu3e4g/edit#gid=0"
        }
      },
      "type": "n8n-nodes-base.evaluationTrigger",
      "typeVersion": 4.6,
      "position": [
        1104,
        -16
      ],
      "id": "5085563f-f163-488d-9d6a-b585eb70ba26",
      "name": "Get Eval Data",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "checkIfEvaluating"
      },
      "type": "n8n-nodes-base.evaluation",
      "typeVersion": 4.7,
      "position": [
        1744,
        -304
      ],
      "id": "54971cee-9d84-4aa9-8130-234afa2afd2c",
      "name": "Eval Branch"
    },
    {
      "parameters": {
        "documentId": {
          "__rl": true,
          "value": "1NXVTR8Xf1A9ZZm4Af6C44Dy1k8QmendI5Pmpwqu3e4g",
          "mode": "list",
          "cachedResultName": "n8n agent mastery - eval",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1NXVTR8Xf1A9ZZm4Af6C44Dy1k8QmendI5Pmpwqu3e4g/edit?usp=drivesdk"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "eval testing",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1NXVTR8Xf1A9ZZm4Af6C44Dy1k8QmendI5Pmpwqu3e4g/edit#gid=0"
        },
        "outputs": {
          "values": [
            {
              "outputName": "output",
              "outputValue": "={{ $json.output }}"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.evaluation",
      "typeVersion": 4.7,
      "position": [
        2048,
        -64
      ],
      "id": "86bf42dd-8c39-408c-8cac-0414dbea452f",
      "name": "Set Eval Output",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "setMetrics",
        "metric": "categorization",
        "expectedAnswer": "={{ $('Get Eval Data').item.json['Expected Category'] }}",
        "actualAnswer": "={{ $json.output }}",
        "options": {}
      },
      "type": "n8n-nodes-base.evaluation",
      "typeVersion": 4.7,
      "position": [
        2272,
        -64
      ],
      "id": "23081358-2f9c-4a42-ab4f-15440017510d",
      "name": "Measure Eval"
    }
  ],
  "connections": {
    "On form submission": {
      "main": [
        [
          {
            "node": "Set joke_topic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set joke_topic": {
      "main": [
        [
          {
            "node": "Funny Joke Judge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Funny Joke Judge",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Funny Joke Judge": {
      "main": [
        [
          {
            "node": "Eval Branch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Eval Data": {
      "main": [
        [
          {
            "node": "Funny Joke Judge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Eval Branch": {
      "main": [
        [
          {
            "node": "Set Eval Output",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Eval Output": {
      "main": [
        [
          {
            "node": "Measure Eval",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "9a1b2b95-c485-4385-be8e-316d43c7fb5d",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "aoCzkjXyvzWMB4Av",
  "tags": []
}