DEV Community

Dragan Atanasov
Dragan Atanasov

Posted on

1 1 1 1 1

Omnilingual AI - Talk with AI in your language

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

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up