Brazilian City Passes Law Drafted By ChatGPT

A city in southern Brazil has passed a law written in 15 seconds in its entirety by OpenAI’s ChatGPT artificial intelligence (AI) chatbot.

The law’s sponsor, city councilman Ramiro Rosario, disclosed the fact that the text had been written by AI last week, six days after the law went into effect on 23 November.

The text had been vetted by several council committees and was passed unanimously by the 36-member body in October, The Washington Post reported.

“The first Brazilian law made exclusively by artificial intelligence is in force in Porto Alegre!” Rosario wrote on X, formerly Twitter.

‘Astounding’ result

Rosario, who describes himself as a tech enthusiast, said his constituents had asked for a law preventing them from being charged when the city-owned water meters were stolen.

He created the text using a brief text prompt: “Create a municipal law for the city of Porto Alegre, originating from the legislature and not the executive, which prohibits the Municipal Water and Sewage Department from charging the owner of the property for the payment of a new water meter when it is stolen.”

He said he was “astounded” at the result, which included a justification and eight subsections.

‘Unprecedented process’

In addition to basic requirements, ChatGPT suggested setting a 30-day deadline for the city to replace stolen water meters and, if this was not met, exempting property owners from paying their water bills.

Such a text would ordinarily  have taken him three days to draft and would have required meetings with Rosario’s team and legal sources, he told the Post.

“This was an unprecedented process of an AI-drafted bill that brought in suggestions that were in line with the principles and values of my mandate – I knew I had to sign it,” he said.

He submitted the text in June and the council’s legislative drafting branch made only minor changes to its wording to be in line with typical legislative style, according to the Post.

AI risks

After finding out AI had been used to draft the law council president Hamilton Sossmeier initially  criticised Rosario for setting a “dangerous precedent” but later told Associated Press he had seen that “unfortunately or fortunately, this is going to be a trend”.

ChatGPT and similar tools use a wide variety of sources and generates texts based on prior models that it has assimilated.

Their use is controversial in professional contexts due to issues such as the copyright status of the source material they draw on and the routine inclusion of false information.

Earlier this year a New York lawyer used ChatGPT to look up legal precedents for a case, or so he thought, only to find that the chatbot had invented several prior cases and had continued to falsely insist afterward that they were real.

Matthew Broersma

Matt Broersma is a long standing tech freelance, who has worked for Ziff-Davis, ZDnet and other leading publications

Recent Posts

US SEC Seeks $5.3 Billion Fine From Terra’s Do Kwon

Financial regulator asks New York judge to impose $5.3 billion in fines against Terraform Labs…

41 mins ago

Microsoft Launches Smallest AI Model, Phi-3-mini

Lightweight artificial intelligence model launched this week by Microsoft, offering more cost-effective option for Azure…

4 hours ago

US Senate Passes TikTok Ban Or Divestment Bill

ByteDance protest falls on deaf ears, as Senate passes TikTok ban or divest bill, with…

6 hours ago

Raimondo Downplays Huawei Smartphone Chip

US Commerce Secretary Gina Raimondo says Huawei's flagship smartphone chip 'years behind' US technology, shows…

1 day ago

Cloud Companies Reject Broadcom VMware Pricing Changes

Cloud companies, business user groups say Broadcom price changes do not address their concerns, as…

1 day ago

UK Lawsuit Claims Grindr Shared HIV Status

Dating app Grindr sued over claims it shared sensitive user data, including HIV status, with…

1 day ago