
PhD Candidate @dais_polymtl & @Mila_Quebec | Ex. Research Intern @Oracle
Montréal, Québec
Joined January 2023
- Tweets352
- Following86
- Followers71
- Likes541
Pinned Tweet
🚀 We just released Flock v0.7.0, a @duckdb community extension that brings AI operators via LLMs, and RAG directly into SQL.
🧵 Here's what's new 👇
How to bring AI directly into your SQL workflows? Explore open-source extensions that embed large language model (LLM) capabilities for RAG and semantic analysis. This approach lets data engineers and developers leverage AI in-database, simplifying advanced analytics within familiar SQL.
dais-polymtl.github.io/flock…
2
58
Most data engineers are still wrestling with separate tools for AI and SQL. You're bleeding time and performance. The old way is dead. Here's why: dais-polymtl.github.io/flock…
1
61
Your 'modern' data stack is obsolete if it can't natively handle AI. Python notebooks are a temporary fix. True data engineering integrates AI directly into SQL. The future demands it.
1
48
SQL can feel like a chef trying to whip up a Michelin-star meal with only a spatula and a dream.
But with the right tools, even complex data transformations become a culinary masterpiece.
Don't let your data be a bland dish; spice it up with smart SQL!
44
🚀 We just released Flock v0.7.0, a @duckdb community extension that brings AI operators via LLMs, and RAG directly into SQL.
🧵 Here's what's new 👇
🤖 Anthropic (𝗖𝗹𝗮𝘂𝗱𝗲) 𝗣𝗿𝗼𝘃𝗶𝗱𝗲𝗿 𝗦𝘂𝗽𝗽𝗼𝗿𝘁
Flock now supports four LLM providers: OpenAI, Azure, Ollama, and Anthropic. Define a model once with CREATE MODEL, then swap providers or the model later (admin-side) without changing the SQL queries that use it.
🌐 𝗪𝗔𝗦𝗠 (𝗪𝗲𝗯𝗔𝘀𝘀𝗲𝗺𝗯𝗹𝘆) 𝗦𝘂𝗽𝗽𝗼𝗿𝘁
Flock now compiles and runs inside DuckDB-WASM.
📊 𝗟𝗟𝗠 𝗠𝗲𝘁𝗿𝗶𝗰𝘀 𝗧𝗿𝗮𝗰𝗸𝗶𝗻𝗴
End-to-end observability for your pipelines: token usage, latency, and call counts for all LLM invocations within a query.
🎤 Introduced 𝗔𝘂𝗱𝗶𝗼 𝗧𝗿𝗮𝗻𝘀𝗰𝗿𝗶𝗽t𝗶𝗼𝗻
Expanded multimodal support with audio transcription (and continued support for images).
If you want semantic and analytical processing in one place, Flock lets you do it all in SQL.
⭐ GitHub: github.com/dais-polymtl/floc…
📖 Docs: dais-polymtl.github.io/flock…
📝 Paper: dl.acm.org/doi/10.14778/3750…
We'd love your feedback and contributions!
#DuckDB #LLM #SQL #OpenSource #ArtificialIntelligence #RAG #DataEngineering #Anthropic #Claude #WASM #MachineLearning
One of the most exciting milestones as a first-year PhD student is the chance to present at @VLDBconf a top-tier database conference. After just two semesters, I had the privilege of achieving this and was even invited by @duckdb to give a lightning talk about my project, FlockMTL. These opportunities have motivated me to keep aiming higher and to work on projects that can make a real impact in our community.
Many people say that the first year of a PhD should be spent mainly on learning and doing literature reviews. While that is important, I believe that with strong motivation, the right research environment, and the guidance of a supportive supervisor, it is possible to accomplish much more. I am especially grateful to my supervisor, Amine Mhedhbi, whose mentorship has been key to these early successes, and to my friend Sunny Yasser, who helps make this journey more collaborative and inspiring.
Engaging in discussions with leading researchers has also been invaluable. Seeing how they approach problems and design solutions has inspired me and shaped the way I want to grow as a researcher.
This year’s VLDB was held in London, which made the experience even more special, combining not only exciting research but also good pictures and a great vibe.
My biggest takeaway so far: never set limits on yourself. Keep trying, keep pushing, and eventually, things will work out.
Wishing you all a wonderful week 😁
Excited to be in London 🇬🇧 this week for @VLDBconf 2025 for the first time 😉!
After just two semesters into my PhD journey, I’m thrilled that our work has already led to a demo paper that I’ll be presenting. Together with Sunny Yasser and under the guidance of my supervisor Amine Mhedhbi, we’ll showcase our demo “Beyond Quacking: Deep Integration of Language Models and RAG into DuckDB” on Wednesday, Sept 3 (Demo A1, Albert 2F).
On top of that, I’ll also be giving a lightning talk at the @duckdb in Science meetup on Sept 4.
If you’re at VLDB or one of the co-located events, feel free to reach out—I’d love to connect and chat!
6
176
Since the first release of FlockMTL, a lot has evolved. We’ve introduced new features, improved stability, and listened closely to feedback. Thank you for your comments! One of the most requested capabilities has been image support 🖼️, and we’re excited to share that it’s finally here 🎉.
With version v0.4.0 🆕, FlockMTL now takes a big step forward toward its original vision of multimodal query processing. This release also brings a refined API. While it is a breaking change, the interface feels easier to use on our end.
🦆 You can try it out on DuckDB with:
INSTALL flockmtl FORM community;
📚 Documentation: dais-polymtl.github.io/flock……
💻 Repo: github.com/dais-polymtl/f…
We’d love to hear your feedback and feature requests!
#FlockMTL #MultimodalAI #ImageSupport #MachineLearning #DuckDB #OpenSource #AI #DeveloperTools
I’m ready! Let’s see what the future holds with GPT-5!
wen GPT-5? In 10 minutes.
openai.com/live
1
42
I tried to make my personal portfolio website from scratch, and this time, I experimented with Agent Mode in VS Code to streamline the development.
The results? It saved a lot of time. Having a software engineering AI assistant by your side definitely accelerates the workflow. But here's the catch.
While the agent handled logic and setup efficiently, the design, the creative structure, and the subtle UX decisions still needed a human touch. When I tried using the agent without prior design knowledge, the output felt generic, like something pulled from a UI template catalog. Fast, yes. Unique? Not quite.
It made me reflect on something @pmddomingos said:
"2-line proof that LLMs can’t achieve superintelligence:
LLMs don’t learn out of distribution.
Superintelligence is out of distribution."
This stuck with me. It captures the boundary between utility and innovation in AI systems today. They're excellent assistants, but creativity, the truly new ideas, still spark from human experience and intuition.
Can AI learn creativity? Or will it always follow the patterns we feed it?
P.S. Let me know what you think about the design of my portfolio, too. Always open to feedback.
Link: anasdorbani.com
#AI #WebDevelopment #Creativity #LLMs #VSCode #PortfolioDesign #SWE #PedroDomingos #ArtificialIntelligence #BuildInPublic #AIandCreativity
JSON prompting isn't the magic bullet it's hyped to be. My experiments show plain text/markdown/XML are often better. Models are trained on diverse text, not just JSON, and JSON itself adds token inefficiency and noise. It's not a universal cheat code!
Holy sh*t… nobody’s talking about JSON prompting
but it’s the cheat code to unlock God-tier outputs from GPT-4, Claude, and Gemini.
Here’s how it works (with copy-paste templates): 👇
1
74
Recently, my PhD supervisor shared a blog post with us about what it’s really like to work at @OpenAI. It completely shifted my perspective on big companies. The post talked about how passion (not just money) can push people to work long hours, even outside the typical 9-5 schedule, simply because they care about making a real impact. It made me realize that true work isn’t just about a paycheck; it’s about finding meaning in what you do. And even though it can be exhausting, there's a kind of peace in doing something you truly love.
If you're curious, here's the link to the blog post: calv.info/openai-reflections
#OpenAI #ChatGPT #AI #artificialintelligence #GenerativeAI
🚀 Just launched NL2SQL++ with FlockMTL Flow — turn natural language into SQL, inspect & debug queries visually, and boost your data workflow! Built on @duckdb + FlockMTL (dsg-polymtl.github.io/flockm…).
👇 Dive in 🧵
#NL2SQL #DuckDB #FlockMTL #DataAnalytics #LLM
2
4
141
🔍 Key Features:
- NL ➡️ SQL in seconds
- Visual, editable query flows
- LLM-powered steps like llm_filter() & llm_complete_json()
Built for both exploration & production debugging
🔗 Medium article (medium.com/@anasdorbani/nl2s…)
💻 GitHub repo (github.com/anasdorbani/flock…)
2
55
🎉 Excited to announce the release of FlockMTL 0.2.0, now available as a @duckdb community extension! It introduces exciting features like running SQL queries with LLM calls via @OpenAI , @Azure, or locally with @ollama , along with powerful scalar and aggregate functions.
We released FlockMTL 0.2.0, a @DuckDB extension!
▶ Run SQL queries with LLM calls w/ @openAI services, @zure, and @ollama
▶ Use various scalar functions (llm_complete, llm_filter, llm_embedding) and aggregate functions (llm_reduce and rerankers).
▶ Include optimizations such as dynamic batching based on input and output token sizes.
▶ Treat MODEL(s) and PROMPT(s) as resources akin to TABLE(s) for continued data-independence.
• Release: github.com/dsg-polymtl/flock…
• Documentation: dsg-polymtl.github.io/flockm…
• Notebook examples: github.com/dsg-polymtl/flock…
Available as a @DuckDB community extension!
3
499
Here we go! 🎉 FlockMTL has launched a new family of aggregate functions! 🚀 Supercharge your data processing and unlock amazing insights. Dive in and explore the possibilities! ✨
FlockMTL integrates zero-shot listwise rerankers in @duckdb!
We added 3 new aggregate functions:
llm_rerank – Returns ranked tuples using a sliding window (arxiv.org/abs/2305.02156).
llm_first – Returns the most relevant tuple.
llm_last – Returns the least relevant tuple.
(1/2)
1
58
🚀 Exciting Update! 🚀 Meta just unveiled OpenEQA—an innovative benchmark for AI understanding of the real world through questions. 🌍💡 As an AI enthusiast, I'm thrilled to see this leap forward in bridging the gap between human cognition and machine intelligence. #MetaAI
Today we’re releasing OpenEQA — the Open-Vocabulary Embodied Question Answering Benchmark. It measures an AI agent’s understanding of physical environments by probing it with open vocabulary questions like “Where did I leave my badge?”
More details ➡️ go.fb.me/7vq6hm
All of today’s state-of-art vision+language models (VLMs) fall well short of human performance.
In fact, for questions that require spatial understanding, today’s VLMs are nearly “blind” – access to visual content provides only minor improvements over language-only models.
We hope that OpenEQA motivates additional research into helping AI understand and communicate about the world it sees.
46
Exciting update: Closed source SWE AI Devin has officially joined forces with open source SWE AI OpenDevin as a contributor! 🚀 This is the kind of collaboration that pushes boundaries and strengthens communities. Kudos to Devin and the team! 👏 #AI #OpenDevin #devin #OpenAI
3
164


















