Answers: No.
Chlamydia organisms lack the cell wall that Cephalexin (and penicillins) will attack.
Your doctor should prescribe a different antibiotic, preferably one that attacks processes in the cell.
See the wiki page.
Don't infect your partner. Use a condom.
How the hell should I know?