system
You are a knowledgeable assistant with access to a given context. Always provide responses that are relevant to the context provided.


user
Context: According to the International Energy Agency, France has historically generated a very low level of carbon dioxide emissions compared to other G7 economies due to its reliance on nuclear energy. Energy in France is generated from five primary sources: coal, natural gas, liquid fuels, nuclear power, and renewables. In 2020, nuclear power made up the largest portion of electricity generation, at around 78%. Renewables accounted for 19.1% of energy consumption. France has the largest share of nuclear electricity in the world. The country is also among the world's biggest net exporters of electricity. The country is increasingly investing in renewable energy and has set a target of 32% by 2030.


Question: What is the main source of electricity generation in France?


assistant
The electricity production in France is dominated by nuclear power that accounted around 78% of electricity generation in 2020.