After a bill was approved by the City Council of Porto Alegre, in the southernmost state of Brazil, Rio Grande do Sul, and sanctioned by the mayor, the city councilor who presented it decided to reveal that the text was written and included suggestions made by artificial intelligence (AI).
The bill exempting people from paying for a new water usage meter in the event of theft was unanimously approved by councillors.
Councilor Ramiro Rosário revealed that his participation in conceiving the text was to send ChatGPT a 289-character directive. The tool delivered a bill with eight articles and rationale, which was incomplete in the initial draft due to character limits — something the councillor did not detect until he was warned by the Chamber's Legislative Drafting Section, and so he returned to the AI platform for additional assistance.
In an interview with Folha de S. Paulo newspaper, he said:
É comum vereadores, para elaborarem leis nas suas cidades, buscarem como base uma lei parecida de outra cidade com a mesma finalidade e copiarem a redação. O ChatGPT faz a mesma coisa do jeito dele, recorrendo a um banco de dados de leis que já estão na internet. Considerando que estamos falando de dinheiro público, acho que a tecnologia tem muito a contribuir
It is common for councilors, when drafting laws in their cities, to look for a similar law from another city with the same purpose as a basis and copy the wording. ChatGPT does the same thing in its own way, using a database of laws that are already on the internet. Considering that we are talking about public money, I think technology has a lot to contribute
The councilor was pleased with one of the AI's original proposals: to exempt the property owner from paying the water bill until the gadget was replaced.
“I thought it was a good idea, and I kept it, even though it wasn't mine,” he said, according to Matinal Jornalismo.
Rosário only revealed his usage of an AI after the mayor sanctioned it, according to him, to create debate on the subject. Although there are no legal obstacles to preventing AI-written regulations in Brazilian laws, the City Council President Hamilton Sossmeier told news outlet G1 he considered it a “dangerous precedent”:
Considero estranho. É a primeira vez que acontece, e não tem nenhuma lei que indique que eu não possa aprovar. Hoje, não tem nada que proíba. Mas, na minha ótica, é um precedente perigoso, complicado. Podem vir outras leis mais complexas, que gerem outros tipos de impacto. Por enquanto, fica minha preocupação pessoal.
I find it strange. It's the first time this has happened, and there aren't any laws indicating that I cannot approve it. Today, there is nothing that forbids it. But, from my perspective, it's a dangerous precedent. It's complicated. Other laws that are more complex may follow, generating another type of impact. For now, there is only my personal concern.
ChatGPT was created by the US-based technology firm OpenAI, based on a language model released to the public in 2022. It employs deep learning to generate human-like writing and operates in a chatbot design. While large language models’ flexibility and generative capabilities can help with prose, poetry, and programming, for example, they also raise concerns about misuse.
In lawmaking, ChatGPT has also been used outside of Brazil. In early 2023, a Massachusetts legislator used ChatGPT to write legislation to govern generative artificial intelligence models. “ChatGPT got us 70 percent of what we needed when we wanted to draft this bill, but it didn’t get us all the way,” said Massachusetts Senator Barry Finegold, responsible for the idea.
ChatGPT generates sentences based on its data set. It operates in two models: a paid version, with a database updated in 2023, and a free version, with its most current dataset comprising knowledge up until 2021. Besides raising questions about ownership and copyright, maintaining objectivity and avoiding bias in political contexts is a concern for some observers.
Additionally, ChatGPT has a large potential to generate disinformation and “hallucinate.” Hallucinations happen when an AI model creates output that deviates from what would be deemed normal or anticipated based on the training data it has been given.
Brazil's national congress is currently analyzing a bill that aims to regulate the use of AI in the country. Transparency, privacy protection, and the defense of democratic values must all be adhered to, according to the current form of the text.
In Brazil's senate, another bill is also in discussion, which also aims to regulate the use of artificial intelligence and its implementation, proposing a risk assessment before the service is made available in the country.