Creating a Thai language AI tool

AI engineers share their views at a seminar titled 'Challenges, Possibility, and Opportunities of Thai ChatGPT', held recently by Nectec.

Thai artificial intelligence (AI) engineers from public and private organisations have teamed up to develop a Thai-language generative AI-powered chatbot, expected to benefit several sectors from education to business.

The National Electronics and Computer Technology Center (Nectec) recently revealed its partnership with three organisations to launch the OpenThaiGPT project.

The three organisations are the Artificial Intelligence Entrepreneur Association of Thailand (AIEAT), the Artificial Intelligence Association of Thailand (AIAT) and the NSTDA Supercomputer Center (ThaiSC).

Generative AI is a type of AI that can interact with users in natural language and create data, ranging from articles to multimodal content such as images, videos and audio.

The OpenThaiGPT project tracks the popularity of generative AI, launched when the ChatGPT chatbot took the world by storm last November. This AI-powered tool can answer questions in beautifully written sentences, assist programmers in writing code and even compose music.

Created by OpenAI, an AI lab in San Francisco, ChatGPT made headlines as it surpassed 1 million users within a week after its launch.

Now other global tech giants are jumping on the bandwagon to produce their own versions.

"It's important for Thailand to become a technology producer rather than just a user in the field of generative AI," said Thepchai Supnithi, director of Nectec's AI Research Group, at the centre's recent seminar titled "Challenges, Possibility, and Opportunities of Thai ChatGPT".

Mr Thepchai, who is also an AIAT representative, said Thailand must have the capability to develop, modify and harness the full potential of Thai language using AI.

According to Nectec, the OpenThaiGPT project is a chat-based assistant project where understanding the Thai language is crucial to enable dynamic information retrieval and a user-friendly interface.

He said OpenThaiGPT is being developed on a open source basis and will be distributed free, with the option for customisation and extension.

TIMING IS EVERYTHING

"This is the ideal time for Thailand to launch this project as the country has an abundance of local language data from Pantip.com as well as the largest supercomputer facility in Asean: ThaiSC's LANTA," said Mr Thepchai.

The latest release, OpenThaiGPT 0.1.0-alpha, is capable of various tasks such as questions and answers, machine translation, step-by-step explanation, paraphrasing and coding suggestions.

In future releases, the number of OpenThaiGPT parameters will increase from 3.74 billion to improve its language understanding and natural interaction, he said.

The project uses publicly available data, with Pantip.com one of the current data contributors.

The project is always mindful of data privacy and copyrights, while encouraging more data contributors to join the project, said Mr Thepchai.

Kobkrit Viriyayudhakorn, president of the AIEAT, said OpenThaiGPT can be connected with external systems or easily expanded, customised and further developed by everyone.

The project can also be integrated with other applications, serving as a building block for the development of the next generation of AI in Thailand, he said.

Possible use cases of OpenThaiGPT include chatbots, news summaries, automatic translation and document classification.

Prachya Bookwan, Nectec researcher for natural language processing, said OpenThaiGPT 0.1.0-alpha is capable of answering general questions, translating languages and coding.

In addition, the OpenThaiGPT team aims to develop a multimodal option that can specify physical references beyond language.

Mr Prachya said the technology has the potential to work on smartphones in the future.

Wanchat Padungrat, the founder of Pantip.com, said he is willing to support the project so that it has a positive impact on society.

"If this project doesn't yield good results or outcomes, it can set us back," Mr Wanchat said.

TRUSTWORTHY AI

Viwan Jarerattanachat, head of scientific support and domain research at ThaiSC, said this project should improve AI capabilities in Thailand.

However, she acknowledged it is still a case of trial and error, requiring safety reviews to ensure it will not harm people or be misused.

The project needs to have transparency, accountability and responsibility, said Ms Viwan.

Apivadee Piyatumrong, Nectec's senior researcher for the AI Research Group, said there are guidelines and frameworks for creating trustworthy AI in many countries.

In Thailand, the Digital Economy and Society Ministry developed the "Digital Thailand-AI Ethics Guideline" in 2018 to include ethical considerations in the principles for the development of AI, said Ms Apivadee.

Regarding the development of OpenThaiGPT, she said there are three main areas to consider to ensure its trustworthiness.

First, safety measures need to be in place to prevent any harm to life or property that could arise from use of the technology, said Ms Apivadee. For example, if OpenThaiGPT is used in the medical field, it needs to be reviewed for safety and effectiveness.

Second, transparency is essential for OpenThaiGPT. It should be clear where the data and models used come from and what their quality and performance are.

Third, accountability and governance are important factors to ensure OpenThaiGPT is trustworthy, she said.

Chai Wutitiwatchai, executive director of Nectec, said Thailand has a National AI strategy master plan that was approved by the cabinet last year.

The country's AI Government Readiness Index score has improved from 60th in 2020 to 31st in 2022, he said.

According to Mr Kobkrit, the AIEAT study titled "Thailand's AI business status in 2022" reported total AI revenue grew 24% from 35.2 billion baht in 2020 to 40.8 billion in 2021.

The amount was mostly contributed by 105 AI companies, 50 system integrator companies and 50 hardware automation firms, he said.

Touchapon Kraisingkorn, co-founder of tech startup Amity, said he hopes OpenThaiGPT becomes the de facto open-source GPT model to gain wide acceptance in the Thai market.

He said GPT technology has immense capabilities to solve inefficiencies in both the public and private sectors.

"It is a once-in-a-decade technology that will allow Thailand to make leapfrog gains in productivity and technological competency," said Mr Touchapon.

ENTERPRISE USES

Panutat Tejasen, chief executive of the new AI startup ThaiGPT Co, said the company sees a business opportunity capitalising on generative AI technology and the popularity of ChatGPT.

The company is also open to using other generative AI models, he said.

Thai cryptocurrency exchange Bitkub is a main investor in ThaiGPT Co.

ThaiGPT aims to develop, integrate and customise AI solutions using Thai language to serve its enterprise customers, said Mr Panutat.

The company is already developing AI-based customer service solutions for a customer to provide answers to inquiries about the customer's products and services, as well as the ability to upsell and cross-sell.

He said the development of solutions should be finished in two months.

AUGMENTED INTELLIGENCE

Ruangroj Poonpol, group chairman of Kasikorn Business-Technology Group (KBTG), said in recent years many businesses have seen AI play a more important role in various work functions.

"The rise of generative AI like ChatGPT has caused a buzz in business circles that humans may soon be replaced by AI," he said.

A cooperative relationship between humans and AI will bring about the highest efficiency and sustainability for work processes, said Mr Ruangroj.

This cooperation results in the "augmented intelligence" concept, where AI is designed to help enhance humans' work and capabilities, not to replace them, he said.

"Through the creation of human-centric machine learning models, AI is trained to receive human feedback and turn that data into guidelines to help improve human decision-making and certain actions to be more accurate and precise," said Mr Ruangroj.

KBTG and MIT Media Lab developed AI through research called K-GPT (Knowledge-GPT), which leverages ChatGPT's capability to provide in-depth domain knowledge by using more natural language in its conversations.

The project enhanced its Thai language proficiency so that it can respond to questions and simultaneously offer advice from different angles.

KBTG Labs and MIT Media Lab also collaborated on proof of concept research called "Kookid", with two conversational agents Kana and Kacha that offer responses from different angles as needed for users' decision-making.


Football news:

<!DOCTYPE html>
Kane on Tuchel: A wonderful man, full of ideas. Thomas in person says what he thinks
Zarema about Kuziaev's 350,000 euros a year in Le Havre: Translate it into rubles - it's not that little. It is commendable that he left
Aleksandr Mostovoy on Wendel: Two months of walking around in the middle of nowhere and then coming back and dragging the team - that's top level
Sheffield United have bought Euro U21 champion Archer from Aston Villa for £18.5million
Alexander Medvedev on SKA: Without Gazprom, there would be no Zenit titles. There is a winning wave in the city. The next victory in the Gagarin Cup will be in the spring
Smolnikov ended his career at the age of 35. He became the Russian champion three times with Zenit

3:19 Golden eel glimmer sparks lottery fever in central Thailand
3:07 Thai firms to get tax cuts for aiding PM2.5 pollution reduction efforts
3:02 At least 22 dead in Maine shootings, gunman at large
2:55 Molasses spill from overturned truck causes traffic chaos on Ram Intra Road
2:53 Thai students meditate on their rights, challenge world record bid
2:21 Worker seeks aid in returning late twin
2:00 UrbanFlowers, where flower delivery and gifting gets a stylish, tech-savvy upgrade
1:50 Thailand mayor resigns following arrest over 600,000 baht extortion charges
1:45 China's top diplomat starts US visit as Biden stands firm
1:40 Chiang Mai singer Farm faces legal action for setting trousers on fire on stage
1:28 Impending heavy rainfall threatens 40 Thai provinces, Bangkok residents warned of potential flash floods
1:23 Drought likely to push up sugar prices
1:15 Thai worker pleads for government help to retrieve twin’s body from Israel
1:13 No tyre gambles in Martin's strategy
0:53 Thailand refines 10,000-baht digital handout eligibility amid wealth exclusion fears
0:53 Urgent plea to commercial counsellors
0:44 PM vague on 10K recipients
0:38 Thai hostages may be released in next Hamas prisoner batch, says PM
0:25 Illegal forest gambling den in Chon Buri raided, 29 arrested including policeman
0:10 Thai karaoke shop owner arrested in anti-human trafficking operation
23:58 Chon Buri man filmed in indecent act outside convenience store, community calls for police action
23:53 House rejects motion for public referendum
20:25 'อันนา' ยื่นหนังสือถึงนายกฯ ร้องเยียวยาเยาวชนที่ถูก พม.คุมตัวโดยมิชอบ อุ้มออกจากร้านแมคฯ ปี'65
17:18 นักกิจกรรมเยาวชน ยื่นหนังสือถึงนายกฯ ก่อนชม ‘สัปเหร่อ’ ร้องสอบปม จนท.พม.คุกคาม ตามคดีตากใบ-112
16:33 พรรคร่วมแจงแนวทางการทำประชามติแก้ รธน.ของรัฐบาลดีอยู่แล้ว เสนอญัตติเข้าสภาอาจโดน สว.ตีตก
15:30 ‘จุลพันธ์’ ชง คกก.ชุดใหญ่ตัดสินใจ ใครได้เงินดิจิทัล 1 หมื่นบาทบ้าง คาดโอนได้หลัง เม.ย.67
15:00 Israel-Hamas War: Live news and updates
14:45 Exhausted Republicans eye breakthrough in quest for US speaker
14:40 'ก้าวไกล' ชวนลูกจ้างลงทะเบียนใช้สิทธิเลือกตั้ง คกก.ประกันสังคม ภายใน 31 ต.ค.นี้ ล่าสุดลงเพียง 0.69%
14:14 [Live] คุยกับนักข่าวอาวุโส : 19 ปี ตากใบ 19 ปี ภูมิทัศน์สื่อชายแดนใต้/ปาตานี
14:04 สภาฯ ไม่เห็นด้วย ตั้ง กมธ.วิสามัญศึกษามาตรการควบคุมฝูงชน โดยมีมติส่งข้อเสนอไปยัง ครม. แทน
12:51 Flying cars, next-gen EVs at Tokyo auto show
12:34 "บิ๊กทิน" ตรวจเยี่ยม มอบนโยบายปฏิบัติงาน ทอ.จัดเต็มพิธีต้อนรับ รมว.กลาโหม
12:25 เหลื่อมล้ำยังแรง! กสศ.เสนอ “ลงทุนพัฒนาทุนมนุษย์ทุกช่วงวัย” พาคนไทยพ้นจน
12:18 “อิ๊งค์” ไม่กังวลคนร้อง “ทักษิณ” รักษาตัวรพ.ตำรวจ เชื่อพ่อหนุนทุกบทบาท
12:16 Spaniard charged in murder, dismemberment of Colombian on Koh Phangan
10:58 แอมเนสตี้ฯ เรียกร้องรัฐบาลไทยเร่งดำเนินการนำเจ้าหน้าที่เอี่ยวสลายชุมนุมตากใบมารับผิดก่อนหมดอายุความ
10:45 UN warns Gaza fuel shortage will stop aid work by end of day
10:41 Just 180 active 'influential people', 10 provinces have none
10:37 More Thais return from war-torn Israel
10:01 ลองกันรึยัง ‘หมากฝรั่งกลิ่น M-150’ เปิดประสบการณ์เคี้ยวสนุก สดชื่น เจาะกลุ่มคนรุ่นใหม่
9:27 สภาฯ มีมติ 262 : 162 คว่ำญัตติก้าวไกล ขอทำประชามติ แก้ไขรัฐธรรมนูญ
9:14 Wealthy won't get digital handout, says PM
8:33 ศาลพิพากษาคดี ม.112 สามคดีติด รอลงอาญา 2 ศาล ยกฟ้อง 1 ศาล
8:11 หุ่นยนต์ AI Romi คอลเลกชันใหม่ Hello Kitty ฉลองครบรอบ 50 ปี Hello Kitty
7:16 มาม่าเตรียมเปิด มาม่า สเตชั่นสาขา RCA เอาใจคนเมาชอบกินมาม่าหลังผับปิด
10:35 Hit-and-run in Chon Buri: woman urges culprit to own up after car gets battered
10:31 ทบ.ชี้แจงยังไม่มีคำสั่งย้ายเจ้ากรมสรรพาวุธทหารบก ปมน้ำมันทหารหาย 2 แสนลิตร
10:26 Woman found dead in Prachin Buri hut prompts discussion on rural mental health awareness
10:21 Don Mueang to host first hospital in Thai 50-district healthcare roll-out
10:15 Ankara explosion classified as terror attack leaves two police injured
10:13 ชาวบ้านลุ่มน้ำชีล่างโวยกรมชลประทานบริหารน้ำพลาด ทำน้ำท่วมนาเสียหาย
10:11 New pit viper species discovered in Thailand’s Thale Ban National Park
10:08 New era in Thai law enforcement as Torasak Sukwimon steps into National Police Chief role
10:01 Reddit user’s video sparks debate over mysterious 514 scribbled by food delivery rider
9:49 Derailed train in Phrae being removed
9:45 UN mission arrives in Karabakh, first visit in 30 years
9:42 Thailand braces for week of heavy rain, rising waterways
9:28 Flood warning issued for 10 provinces and Bangkok as heavy monsoon rains threaten Chao Phraya River
8:51 Army ordnance chief transferred over missing diesel
8:43 พีมูฟ ประกาศปักหลักชุมนุมครั้งแรกในรัฐบาล ‘เศรษฐา’ ผลักดันนโยบาย 9 ด้าน
8:26 นักวิชาการแนะรัฐบาลเร่งพัฒนาพื้นที่ทับซ้อนไทยกัมพูชา-ต่อยอดการพัฒนา EEC
8:17 Dutch father and son die in truck crash in Nakhon Ratchasima
8:13 Tourism body urges Thai government to lift Malaysian bus restrictions
8:12 องค์กรแรงงานเรียกร้องเงินค้างจ่ายให้ลูกเรือได้ถึง 118 ล้านดอลลาร์ ในรอบ 3 ปี
8:02 Patongtharn Shinawatra tipped as new Pheu Thai Party leader
8:00 “ชัยธวัช” ไม่ทราบ คนไล่ “หมอพรทิพย์” เป็นสมาชิกพรรคก้าวไกลหรือไม่
7:59 DGA pins digital hopes on app
7:59 Govt pins digitisation hopes on app
7:58 New kind of pit viper discovered in South
7:50 หนุ่มแก้เผ็ด คนจอด "รถยนต์ไฟฟ้า" คาจุดชาร์จ น้ำใจงามด้วยการช่วยเสียบสายชาร์จ
7:46 Govt sees B140bn from China tourism after visa waivers
7:38 Thai lottery livestream draws in eager participants with six million baht top prize
7:23 Chon buri man fatally shot seven times leaves toddler behind: Mother pleads for justice
7:03 Mooncake hilarity ensues as gift circles back to original buyer in Changjiang
7:02 Arpichya claims surprise golf gold for Thailand
6:58 'สุดารัตน์' ขอรัฐบาลจริงใจ เร่งแก้ไขรัฐธรรมนูญ
6:51 Thai senator sparks outrage for disrespecting protected moss in Iceland and facing public rebuke
6:45 Bangkok father faces charges for child abuse: Paweena Hongsakul Foundation steps in
6:44 Don Muang to kick off Bangkok's '50 districts, 50 hospitals' policy
6:28 Thais support state subsidies for childcare, free education to boost birthrate
6:25 Feeder link for high-speed rail gets all-clear
6:22 Premier urged to open up South to tourism buses
6:22 Premier urged to lift curbs on Malaysian tour buses
6:19 Chiang Mai bridge collapses amid heavy rain, locals express relief
6:13 คนร้ายยิง M16 ใส่ฐานชุดคุ้มครอง ต.ยุโป อ.เมือง จ.ยะลา
6:10 Thai education pioneer Professor Wijit Srisa-arn passes away at 88
5:58 Fatal highway crash: Container truck skids off course, collides with taxi
5:47 'ผบ.ทบ.' สั่งย้าย ‘เจ้ากรมสรรพวุธ’ เซ่นปมน้ำมันหาย 2 แสนลิตร
5:42 MFP faces corruption probe over contentious Deputy House Speaker expulsion
5:27 “ก้าวไกล” ชวนแรงงานปทุมฯ ถกผลักดัน 4 กฎหมายยกระดับชีวิตคนงาน
5:23 Bangkok’s Sustainability Expo 2023 highlights local goods and projects
5:23 Asian Games 2023: from robot dogs to hot meals vending machines, Chinese tech firms chase new customers in Hangzhou
5:14 Myanmar residents of Japan vow to help 2m displaced in homeland
4:58 Blackpink’s Lisa to receive Thai cultural ambassador award for promoting local culture
4:46 Thai Prime Minister acts swiftly on northern region’s escalating flood crisis
4:38 นิด้าโพลเผยผลสำรวจ 'ภาระค่าใช้จ่าย-สภาพสังคม' ส่งผลคนไทยไม่อยากมีลูก
4:02 Majority want state subsidies for childcare, free education: Nida Poll
4:02 Most want subsidised childcare, free education to spur birth rate: poll
2:33 Participants hopeful about SX 2023