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

X’s Community Notes Fails To Stem US Election Misinformation – Report

Hate speech non-profit that defeated Elon Musk's lawsuit, warns X's Community Notes is failing to…

1 day ago

Google Fined More Than World’s GDP By Russia

Good luck. Russia demands Google pay a fine worth more than the world's total GDP,…

1 day ago

Spotify, Paramount Sign Up To Use Google Cloud ARM Chips

Google Cloud signs up Spotify, Paramount Global as early customers of its first ARM-based cloud…

2 days ago

Meta Warns Of Accelerating AI Infrastructure Costs

Facebook parent Meta warns of 'significant acceleration' in expenditures on AI infrastructure as revenue, profits…

2 days ago

AI Helps Boost Microsoft Cloud Revenues By 33 Percent

Microsoft says Azure cloud revenues up 33 percent for September quarter as capital expenditures surge…

2 days ago