Omnilingual AI

Omnilingual AI in action
This is a submission for the Cloudflare AI Challenge.

What I Built

Omnilingual AI” – Your Multilingual Conversation Companion!
Talk with AI in your preferred language and receive responses translated instantly. You can customize the AI model, the input and the output language.

Demo

Try out the demo at: https://omnilingual-ai.dragan.workers.dev/

The UI frontend, powered by Flutter, ensures a consistent user experience across all devices, including browsers, mobile phones, tablets, and desktops.

My Code

Check the code on GitHub: https://github.com/drashmk/omnilingual-ai.

Journey

The journey of building “Omnilingual AI” was an interesting and challenging one. Most AI LLMs work best in English, which can be challenging for many, especially kids, whose primary language isn’t English. “Omnilingual AI” solves this by understanding and responding in multiple languages, making AI accessible to everyone, regardless of their language.

To make it work, the worker utilizes the @cf/meta/m2m100-1.2b translation model. It translates the input into English, sends it to the selected text generation LLM and then translates the response in the selected language.

I chose Flutter for the UI frontend due to its versatility and ability to run on various platforms.
Its widget library makes crafting visually appealing and responsive user interfaces a breeze(also because my day job is backend developer, this helped me to make the prototype faster while ensuring it didn’t look like made by a BE dev😁).

Each bubble contains an “Original->” button, which reveals the original response from the LLM before translation.

Multiple Models and/or Triple Task Types


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top
Screen reader users also get automatic announcements to turn the screen reader mode on as soon as they enter the website.