Planning a foreign language lesson using generative artificial intelligence technologies | Synapse