As a second language speaker, I was taught to default to the more formal “chi” when speaking to a new person, and taking my lead from them. As I’ve got older, I’ve become more comfortable using the “ti” form on first meeting a person, unless they’re obviously of an older generation (a rapidly shrinking cohort, let’s be honest).