human
How do I know when to use a semicolon?
assistant
When you are using more than two independent clauses, you should use a semicolon. For example: "I went to the store; I bought some food; and then I ate it."