People are increasingly using AI and technology to connect with their faith and learn about others. Photo: Unsplash
People are increasingly using AI and technology to connect with their faith and learn about others. Photo: Unsplash
People are increasingly using AI and technology to connect with their faith and learn about others. Photo: Unsplash
People are increasingly using AI and technology to connect with their faith and learn about others. Photo: Unsplash

Religious GPT: The chatbots and developers fighting bias with AI


  • English
  • Arabic

In March, a day before Ramadan, Raihan Khan sat in front of his laptop to welcome in the holy month. And he did, in true Gen Z style, by launching his AI chatbot, QuranGPT.

“In the first 36 hours alone, it processed over 60,000 searches from 73 countries,” says the 20-year-old, who lives in Kolkata, India, and developed the AI chatbot. “Apart from India and the US, countries like the UAE, Saudi Arabia and Morocco are in the list of top 10 countries whose users have visited it.”

QuranGPT, he explains, is trained on the Quran and uses GPT 3.5 Turbo, an advanced version of OpenAI’s GPT-3.

The ever-booming field of artificial intelligence has led to the rise of religious AI chatbots. They usually answer questions by quoting or referencing holy books including the Quran, Bible and Bhagavad Gita. Like most founders and developers, Khan is young, enthusiastic to learn how AI can transform lives and has a realistic understanding of his generation’s tenuous connection to religion.

A screenshot of the QuranGPT interface. Photo: QuranGPT
A screenshot of the QuranGPT interface. Photo: QuranGPT

“Youngsters don’t [always] go through religious texts in detail. If they want to know whether the Earth is flat or spherical in shape, they are not going to go through a 700-page book on it,” he observes.

Jaspreet Bindra, an expert on generative AI and author of The Tech Whisperer: On Digital Transformation and the Technologies that Enable It, is not surprised by the development – after all, religion is a very popular topic.

“If you go on any social media or chat platform, there is a huge number of conversations around religion and interpretations of religion – sometimes good, sometimes malicious but they are there. So when there is a new, powerful tool in technology, it will be used to talk about something as big as religion,” Bindra says, adding that he hasn’t personally explored or used AI chatbots for religion.

Fighting bias with AI

A chatbot interaction on QuranGPT. Photo: QuranGPT
A chatbot interaction on QuranGPT. Photo: QuranGPT

The founders, especially of chatbots based on Islamic religious texts, are united under another common goal – to present their religion accurately to the world.

GPT-3 has been accused of having an “anti-Muslim bias”. A 2021 article by Vox reported that when Stanford researchers typed in the words, “Two Muslims walked into a …", the AI system completed the sentence with " … a Texas cartoon contest and opened fire”.

It may have improved in the two years since, but as Fardeem Munir, founder of HadithGPT in the US points out, the online world is still largely Islamophobic. “These AI models were trained on the internet where, sadly, Islamophobia is a big issue,” he says. “It just goes to show how careful we have to be when training them.”

Fardeem Munir, the developer of HadithGPT. Photo: HadithGPT
Fardeem Munir, the developer of HadithGPT. Photo: HadithGPT

Munir started HadithGPT in February as “more of a resource for people, to draw inspiration from the life of [the] Prophet Mohammed, peace be upon him”. The chatbot, as its name implies, is based and trained on the Hadith. “But people began to ask very nuanced questions about Islamic law and AI can't answer that. And even if it did, it wouldn't be a valid answer. That's not how Islamic law works,” he says.

So Munir shut it down and relaunched it recently with “more guard rails” in place. The chatbot’s generated responses come with a disclaimer: “It is important to learn and consult real Islamic scholars for more accurate information.”

Khan has tried to ensure that QuranGPT does not comment on any other religion or “anything else that is not mentioned in the Quran”.

“I want to show that Islam preaches peace, love and brotherhood, and not terrorism,” he adds.

In Pakistan, Ali Zahid Raja, the founder and developer of Islam & AI, spent hours trying to ensure the same. “I asked my friends to stress-test it by asking controversial questions so that I could see the answers for myself and fix them,” he says, adding that the chatbot is currently a beta version and he plans to add more AI features.

“With the advancement of ChatGPT, I [wanted to] create a bot that would help people – both Muslims and non-Muslims alike – with questions about Islam, without any bias or cultural influences.”

Combating loneliness

Islam & AI's response to a question about loneliness. Photo: Islam & AI
Islam & AI's response to a question about loneliness. Photo: Islam & AI

The founders explain that users look at these chatbots as a novel way to understand their religion. What they didn’t expect, though, was that they would use them to deal with issues such as loneliness as well.

Sukuru Sai Vineet of GitaGPT, which is based on the Bhagavad Gita, says that since launching the chatbot this year, he’s realised there is a “loneliness epidemic”.

“Human-like chatbots, which are fuelled by religious wisdom, could solve your loneliness but obviously, it’s a very risky area as well,” he explains. “You can inject your ideology into these chatbots and the thing with programmes is that you can scale it infinitely.

“Every new technology brings along with it a risk and predicting these risks is very difficult. The safety issue is very evident so you have to try to engineer the bot into not giving violent or irrelevant answers. If a question is irrelevant or controversial, our chatbot points out that it is not mentioned in the Bhagavad Gita.”

Type in “I am feeling lonely” on Islam & AI and the chatbot’s generated response is a combination of a verse from the Quran, a few sentences on the teachings of the Prophet Mohammed, the importance of charity work and reaching out to an Islamic scholar to deal with loneliness.

“The most-asked questions are about loneliness and depression, so people find these answers very calming,” adds Raja. Meanwhile, QuranGPT quotes relevant verses from the Quran, along with tafsirs (explanations).

Handling critics

It hasn’t been all smooth-sailing, though. The founders and developers have had to deal with criticism about mixing science and technology with religion, and of their products attempting to replace the role of religious leaders and scholars.

“Some scholars have criticised religion-based AI chatbots, including Islam & AI,” says Raja. “I am open to constructive critique but I believe we all should start embracing technology, especially AI, and make the best of it.”

Islam & AI developer Ali Zahid Raja. Photo: Islam & AI
Islam & AI developer Ali Zahid Raja. Photo: Islam & AI

While GitaGPT’s Vineet says that both religion and science share the same objective, to “find out the nature of the reality that we have landed ourselves in”. Khan points out that these tools don’t pretend to be the final authority on religion and are, at best, just a starting point for those who would like to learn more about their religion. “Then it is your responsibility to get the answer verified by either searching online further or talking to a scholar.”

Bindra says that although it’s not possible to predict the future, these could prove to be important tools, especially for the younger generation, as long as they spread secularism and equality and don't try to weaponise religion.

“It depends on the creator and the intent behind creating it, not the tool,” Bindra points out. But he doesn’t see it taking off in a big way, unless major companies scale it up. “Frankly, I don’t see big companies getting into religion. I don’t see this as one of the biggest uses of this technology.”

But the numbers seem to tell a different story. HadithGPT, for instance, once had 100,000 users in a month. And Vineet says that GitaGPT has processed millions of queries so far and that an Indian technology company is about to launch its own AI chatbot that’s similar to GitaGPT.

“I think these chatbots are here to stay,” Vineet says. “It’s just a way to bring back ancient wisdom through technology.

First Person
Richard Flanagan
Chatto & Windus 

Pros%20and%20cons%20of%20BNPL
%3Cp%3E%3Cstrong%3EPros%3C%2Fstrong%3E%0D%3C%2Fp%3E%0A%3Cul%3E%0A%3Cli%3EEasy%20to%20use%20and%20require%20less%20rigorous%20credit%20checks%20than%20traditional%20credit%20options%0D%3C%2Fli%3E%0A%3Cli%3EOffers%20the%20ability%20to%20spread%20the%20cost%20of%20purchases%20over%20time%2C%20often%20interest-free%0D%3C%2Fli%3E%0A%3Cli%3EConvenient%20and%20can%20be%20integrated%20directly%20into%20the%20checkout%20process%2C%20useful%20for%20online%20shopping%0D%3C%2Fli%3E%0A%3Cli%3EHelps%20facilitate%20cash%20flow%20planning%20when%20used%20wisely%0D%3C%2Fli%3E%0A%3C%2Ful%3E%0A%3Cp%3E%3Cstrong%3ECons%3C%2Fstrong%3E%3C%2Fp%3E%0A%3Cul%3E%0A%3Cli%3EThe%20ease%20of%20making%20purchases%20can%20lead%20to%20overspending%20and%20accumulation%20of%20debt%0D%3C%2Fli%3E%0A%3Cli%3EMissing%20payments%20can%20result%20in%20hefty%20fees%20and%2C%20in%20some%20cases%2C%20high%20interest%20rates%20after%20an%20initial%20interest-free%20period%0D%3C%2Fli%3E%0A%3Cli%3EFailure%20to%20make%20payments%20can%20impact%20credit%20score%20negatively%0D%3C%2Fli%3E%0A%3Cli%3ERefunds%20can%20be%20complicated%20and%20delayed%0D%3C%2Fli%3E%0A%3C%2Ful%3E%0A%3Cp%3E%3Cem%3ECourtesy%3A%20Carol%20Glynn%3C%2Fem%3E%3C%2Fp%3E%0A
MATCH INFO

Southampton 0
Manchester City 1
(Sterling 16')

Man of the match: Kevin de Bruyne (Manchester City)

MATCH INFO

Uefa Champions League semi-finals, first leg
Liverpool v Roma

When: April 24, 10.45pm kick-off (UAE)
Where: Anfield, Liverpool
Live: BeIN Sports HD
Second leg: May 2, Stadio Olimpico, Rome

AUSTRALIA SQUAD

Aaron Finch, Matt Renshaw, Brendan Doggett, Michael Neser, Usman Khawaja, Shaun Marsh, Mitchell Marsh, Tim Paine (captain), Travis Head, Marnus Labuschagne, Nathan Lyon, Jon Holland, Ashton Agar, Mitchell Starc, Peter Siddle

liverpool youngsters

Ki-Jana Hoever

The only one of this squad to have scored for Liverpool, the versatile Dutchman impressed on his debut at Wolves in January. He can play right-back, centre-back or in midfield.

 

Herbie Kane

Not the most prominent H Kane in English football but a 21-year-old Bristolian who had a fine season on loan at Doncaster last year. He is an all-action midfielder.

 

Luis Longstaff

Signed from Newcastle but no relation to United’s brothers Sean and Matty, Luis is a winger. An England Under-16 international, he helped Liverpool win the FA Youth Cup last season.

 

Yasser Larouci

An 18-year-old Algerian-born winger who can also play as a left-back, Larouci did well on Liverpool’s pre-season tour until an awful tackle by a Sevilla player injured him.

 

Adam Lewis

Steven Gerrard is a fan of his fellow Scouser, who has been on Liverpool’s books since he was in the Under-6s, Lewis was a midfielder, but has been converted into a left-back.

The biog

Occupation: Key marker and auto electrician

Hometown: Ghazala, Syria

Date of arrival in Abu Dhabi: May 15, 1978

Family: 11 siblings, a wife, three sons and one daughter

Favourite place in UAE: Abu Dhabi

Favourite hobby: I like to do a mix of things, like listening to poetry for example.

Favourite Syrian artist: Sabah Fakhri, a tenor from Aleppo

Favourite food: fresh fish

Match info

Huddersfield Town 0

Chelsea 3
Kante (34'), Jorginho (45' pen), Pedro (80')

SERIE A FIXTURES

Saturday Spezia v Lazio (6pm), Juventus v Torino (9pm), Inter Milan v Bologna (7.45pm)

Sunday Verona v Cagliari (3.30pm), Parma v Benevento, AS Roma v Sassuolo, Udinese v Atalanta (all 6pm), Crotone v Napoli (9pm), Sampdoria v AC Milan (11.45pm)

Monday Fiorentina v Genoa (11.45pm)

COMPANY%20PROFILE
%3Cp%3E%3Cstrong%3EName%3A%3C%2Fstrong%3E%20Carzaty%2C%20now%20Kavak%3Cbr%3E%3Cstrong%3EBased%3A%3C%2Fstrong%3E%20Dubai%3Cbr%3E%3Cstrong%3ELaunch%20year%3A%20%3C%2Fstrong%3ECarzaty%20launched%20in%202018%2C%20Kavak%20in%20the%20GCC%20launched%20in%202022%3Cbr%3E%3Cstrong%3ENumber%20of%20employees%3A%3C%2Fstrong%3E%20140%3Cbr%3E%3Cstrong%3ESector%3A%3C%2Fstrong%3E%20Automotive%3Cbr%3E%3Cstrong%3EFunding%3A%20%3C%2Fstrong%3ECarzaty%20raised%20%246m%20in%20equity%20and%20%244m%20in%20debt%3B%20Kavak%20plans%20%24130m%20investment%20in%20the%20GCC%3C%2Fp%3E%0A
UAE currency: the story behind the money in your pockets
ARSENAL IN 1977

Feb 05 Arsenal 0-0 Sunderland

Feb 12 Manchester City 1-0 Arsenal

Feb 15 Middlesbrough 3-0 Arsenal

Feb 19 Arsenal 2-3 West Ham

Feb 26 Middlesbrough 4-1 Arsenal (FA Cup)

Mar 01 Everton 2-1 Arsenal

Mar 05  Arsenal 1-4 ipswich

March 08 Arsenal 1-2 West Brom

Mar 12 QPR 2-1 Arsenal

Mar 23 Stoke 1-1 Arsenal

Apr 02  Arsenal 3-0 Leicester

Al Jazira's foreign quartet for 2017/18

Romarinho, Brazil

Lassana Diarra, France

Sardor Rashidov, Uzbekistan

Mbark Boussoufa, Morocco

BeIN Sports currently has the rights to show

- Champions League

- English Premier League

- Spanish Primera Liga 

- Italian, French and Scottish leagues

- Wimbledon and other tennis majors

- Formula One

- Rugby Union - Six Nations and European Cups

 

The%20specs
%3Cp%3E%3Cstrong%3EEngine%3A%3C%2Fstrong%3E%202-litre%204-cylinder%3Cbr%3E%3Cstrong%3EPower%3A%20%3C%2Fstrong%3E153hp%20at%206%2C000rpm%3Cbr%3E%3Cstrong%3ETorque%3A%20%3C%2Fstrong%3E200Nm%20at%204%2C000rpm%3Cbr%3E%3Cstrong%3ETransmission%3A%20%3C%2Fstrong%3E6-speed%20auto%3Cbr%3E%3Cstrong%3EFuel%20consumption%3A%20%3C%2Fstrong%3E6.3L%2F100km%3Cbr%3E%3Cstrong%3EPrice%3A%20%3C%2Fstrong%3EDh106%2C900%3Cbr%3E%3Cstrong%3EOn%20sale%3A%20%3C%2Fstrong%3Enow%3C%2Fp%3E%0A
Karwaan

Producer: Ronnie Screwvala

Director: Akarsh Khurana

Starring: Irrfan Khan, Dulquer Salmaan, Mithila Palkar

Rating: 4/5

Match statistics

Abu Dhabi Harlequins 36 Bahrain 32

 

Harlequins

Tries: Penalty 2, Stevenson, Teasdale, Semple

Cons: Stevenson 2

Pens: Stevenson

 

Bahrain

Tries: Wallace 2, Heath, Evans, Behan

Cons: Radley 2

Pen: Radley

 

Man of the match: Craig Nutt (Harlequins)

if you go

The flights
The closest international airport to the TMB trail is Geneva (just over an hour’s drive from the French ski town of Chamonix where most people start and end the walk). Direct flights from the UAE to Geneva are available with Etihad and Emirates from about Dh2,790 including taxes.

The trek
The Tour du Mont Blanc takes about 10 to 14 days to complete if walked in its entirety, but by using the services of a tour operator such as Raw Travel, a shorter “highlights” version allows you to complete the best of the route in a week, from Dh6,750 per person. The trails are blocked by snow from about late October to early May. Most people walk in July and August, but be warned that trails are often uncomfortably busy at this time and it can be very hot. The prime months are June and September.

 

 

Updated: July 28, 2023, 6:02 PM