Understanding AI · lesson 51 of 60 · about 5 minutes
What Not to Share
What you type into a chatbot may be stored and seen. Learn what to keep out of AI chats.
What you'll learn
- Name the kinds of information not to share
- Spot private details in a message
- Explain why chats may not stay private
Chats aren't a diary
Messages you send to a chatbot are sent to the company that runs it, may be stored, and are sometimes read by people or used to improve future models, depending on the service and your settings.
So treat a chatbot like a public place, not a locked diary.
Keep these out
Don't share:
- Passwords, PINs and bank or card details.
- Your home address, phone number or exact location.
- Other people's private information.
- Secret information from school or work.
- Photos or documents you wouldn't want others to see.
A simple check for some private details before sending. `any(...)` is True if at least one check is True.
message = "my password is sunflower22, can you help me log in?"
warnings = ["password", "pin", "card number", "address"]
print(any(w in message for w in warnings))Output
TrueTip
If you wouldn't post it publicly, don't type it into a chatbot.
Now try it yourself
This lesson is free in Codiqo, with 6 questions on what you just read. You can only learn to code by writing code, so it ends with a short program you write yourself, which we run and check straight away.