• 83 Posts
  • 32 Comments
Joined 3 years ago
cake
Cake day: July 8th, 2023

help-circle
  • ELI5:

    ChatGPT can search Google to give better answers. Reddit threads often appear as top search results.

    Let’s say you work in marketing at a chocolate company. You can use this guy’s script to find Reddit posts that ChatGPT might read when someone asks it about chocolate. The script replies to each post and praises your chocolate, specifically.

    When ChatGPT reads the thread, it might tell people about your chocolate.


































  • Sjmarf@sh.itjust.worksOPtoProgrammer Humor@programming.devSus
    link
    fedilink
    arrow-up
    102
    ·
    edit-2
    2 years ago

    not() is a base function that negates what’s inside (turning True to False and vice versa) giving it no parameter returns “True” (because no parameter counts as False)

    Actually, not is an operator. It makes more sense if you write not() as not () - the () is an empty tuple. An empty tuple is falsy in Python, so not () evaluates to True.