English language - Prayers Connect https://prayersconnect.org From 2016 Wed, 09 Aug 2023 03:23:31 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.2 https://prayersconnect.org/wp-content/uploads/2023/03/cropped-main-logo-png-1-32x32.png English language - Prayers Connect https://prayersconnect.org 32 32 Removing Language Barrier with AI – A Practical Example https://prayersconnect.org/1003-removing-language-barrier-with-ai-a-practical-example/ https://prayersconnect.org/1003-removing-language-barrier-with-ai-a-practical-example/#respond Tue, 08 Aug 2023 21:20:32 +0000 https://prayersconnect.org/?p=1003 We used OpenAI's ChatGPT API to fix a problem our data mining team had been struggling with for a long time. Keep reading to learn more...

The post Removing Language Barrier with AI – A Practical Example first appeared on Prayers Connect.

]]>
On prayersconnect.com, we provide different types of information about a mosque including a general description or overview. Originally, this overview section was meant to be meticulously crafted by our editorial team. However, since English is not the first language for many of our data mining team members, they often felt uncertain about writing the descriptions themselves. When they did write them, the results were frequently unsatisfactory due to poor composition and grammatical mistakes.

This issue remained unresolved for quite a long time, largely due to our non-profit budget constraints. But recently, a spark of innovation led us to a solution: leveraging AI to overcome this challenge.

In our backend API, we designed a prompt containing the information we believed would be valuable. We then made an API call to the gpt-3.5-turbo model, which in turn generated a description based on the provided details. Here’s an example:

<<OPENAI
Generate a human-friendly brief description for the mosque based on the provided data within Beginning & end of Data Section. Adhere to the following guidelines:

<A number of rules; redacted for brevity>


Beginning of Data Section
<Provided data about mosques; redacted for brevity>
End of Data Section

OPENAI

We have noticed that the generated content occasionally deviates from our instructions. However, with the availability of gpt-4, we anticipate a significant improvement that will bring us closer to our goal of providing accurate and engaging descriptions for our users.

The post Removing Language Barrier with AI – A Practical Example first appeared on Prayers Connect.

]]>
https://prayersconnect.org/1003-removing-language-barrier-with-ai-a-practical-example/feed/ 0