MY EXPERIENCE WITH ARTIFICIAL INTELLIGENCE
November 28, 2026
9 min read
English
3 views
Professional space
#aiengineering #machinelearning #rag
Less info
More info
My experience with artificial intelligence did not start with the arrival of ChatGPT in 2023, but rather four years earlier, in a course I took at the institution where I did my Master of Business Administration.
In fact, in 2019, five years after finishing my master's degree, I decided to take a course called Big Data and Artificial Intelligence, two areas of knowledge that I had not had the chance to study or gain experience in until then, yet since they were two essential disciplines for professionals focused on data, I decided to join the course. Back then I was already living in Barcelona, and the course was taught in Ghent, Belgium, so with a bit of leave from work and careful planning around the course dates, I was able to attend and complete the training.
At first, my openness to the course was total, as I had a strong motivation to understand the fundamentals of both Big Data and artificial intelligence. In fact, the academic methodology used by the institution where I did my master's years earlier was well known for being very pragmatic, one of its most notable value propositions, so the knowledge was heavily focused on being practical, aligning with industry practices, and fitting into them. The fundamentals were explained in a general way, and the course was based more on use cases, successful experiences, panellists sharing their winning projects, and case discussions, rather than really learning how Big Data or artificial intelligence technology works, let alone developing it yourself. Instead, the focus was on commissioning its development and managing the solution from a business point of view, launching it on the market, and, at that time, learning what the main applications of artificial intelligence were, geared towards neural networks trained for specific tasks, image recognition and its applications, and above all, being able to assess the level of technological maturity in any company and recommend a coherent path towards greater technological maturity.
I remember that in my case, although this training was very important and decisive for being able to run technical experiments based on artificial intelligence in later years, what I missed most at the time was hands-on practice: being able to build an artificial intelligence prototype independently, at least on a smaller scale, to understand and put into practice the technical fundamentals of artificial intelligence. On the contrary, because of the pragmatic orientation of the course, it was taken for granted that the market already had solutions for the different artificial intelligence applications of that moment, and we were mostly invited to use them, acquire them as part of corporate strategy, and benefit from the technology to compete better in the market. It made complete sense, and in fact, that was the style of training I had during my Master of Business Administration studies: a pragmatic approach, studying success stories so they could be applied quickly in companies. I kept trying to replicate a neural network to learn how to recognise an image or a statistical pattern and make predictions. I believe I succeeded around mid-2020 when trying to build early applications based on Excel or Access with simple activation or deactivation of neurons, which was one of my goals with artificial intelligence. The pandemic and future organisational changes at the company where I worked led me to specialise in cloud work, though I kept running experiments in artificial intelligence.
From the cloud and data to the age of language models
Specialising in cloud work and data architectures gave me a much broader perspective on how systems scale, how data moves, and what it takes to bring an idea from a controlled environment into a live product. At the same time, watching the data ecosystem, digital marketing, and online advertising, a sector that has evolved from the first cookies in the mid-nineties and the shift from Web 1.0 to Web 2.0 to programmatic advertising, privacy regulations such as GDPR, or the challenges of audience segmentation and ad fatigue, it became clear that artificial intelligence was moving from a specialised promise to a cross-cutting engine capable of transforming analytics, content, user experiences, and business models.
However, when ChatGPT launched and generative artificial intelligence took over the public and technical conversation, the feeling was different from previous years. Seeing a system capable of organising large amounts of text, spotting what matters, and simulating a human response in natural language marked a turning point for those of us who build applications. Behind that leap lay years of research and the combined effort of large organisations and thousands of independent contributors working to help machines understand human natural language. While following these developments and working on programming my own website, the natural question was not just how to consume this technology, but how to apply it meaningfully to a traditional platform built individually.
When reviewing the project and looking back at earlier versions of the website, I noticed something very revealing: even when you lose touch with the logic of past iterations or when a platform evolves to become more intuitive, there is always a learning curve and initial friction if the user is not familiar with the interface or does not quickly spot the real value and usefulness of what is in front of them. That diagnosis led me to look for a concrete problem that a language model could solve: reducing friction in navigation, guiding the user, and making it easier to understand both published content and shared information on the platform.
Real constraints, small language models (SLMs), and decoupled architecture
Exploring the fundamentals of generative artificial intelligence from the role of someone who builds and maintains a real platform soon puts constraints on the table that flashy demos usually hide. Although very powerful models are available, relying on external APIs with per-call costs or strict usage limits did not fit an early-stage project where the real volume of demand is still unknown and where turning to third parties could mean over-engineering the infrastructure. My priority was to build in-house capabilities without unnecessary external dependencies whenever a local solution was viable, looking for compatibility with the site's development environment, based on Node.js, and avoiding adding complex external layers before validating the stability of the system.
In that search, I also ruled out traditional natural language processing (NLP) approaches that, although useful for specific classifications or rigid answers, lacked the grammatical fluency and contextual ability needed for a conversational companion agent. At the same time, testing open models on a server with limited CPU and RAM resources brought concrete friction: test models and setups such as TinyLlama or GPT-2 ended up saturating memory when loading or causing conflicts with the web application's own processes.
The way forward came from exploring compact language models, Small Language Models (SLMs), with efficient decoder-only transformer architectures, such as the Qwen family in small sizes (around 500 million parameters, in versions 1.5 and 2.5, both quantised and unquantised). With much more contained resource consumption and solid multilingual support, they offered a very favourable balance between natural language ability and feasibility on modest hardware. Even so, keeping the model coupled directly to the web server was risky, so I evolved the solution into an independent API-style service (with FastAPI): the website delegates the query when the user interacts, waits for the remote response, and allows the service to go into sleep mode when there is no activity in order to save server resources.
The decisive turn: RAG, intent routing, and MiniLM
Having a lightweight model is only one piece of the puzzle. Even when an SLM supports large context windows in theory, trying to dump large amounts of text into a server with limited memory after loading the model is not viable. The system had to select precisely what information to pass in each query, applying retrieval-augmented generation (RAG) logic adapted to real constraints: retrieving only the relevant chunks for support use cases, general site help, queries about articles, and user profiles when information has been shared, building a bounded prompt together with recent history, and grounding generation in the retrieved context.
In the early iterations, relying on simpler fuzzy searches (such as fuse.js) and later on custom hybrid-scoring improvements (semantic fuse, combining deterministic vector representations, overlap, phrase matching, typo tolerance, edit distance, and n-grams) allowed me to take a step forward in chunk selection and intent routing (greetings, goodbyes, thanks, summaries, synthesis, or questions). However, analysing usage logs revealed a key lesson: many inaccurate answers or model fabrications did not come from a total inability of the generator to write, but from an earlier problem in routing and source selection. If the system sent the question to the wrong source or without enough evidence, the model tried to fill in the gap.
Replacing that initial retrieval layer with a compact sentence-embedding model like MiniLM transformed the division of responsibilities inside the architecture. MiniLM does not generate text: it turns sentences into vectors to measure real semantic closeness even when the words do not match literally. By structuring intent and source detection in stages, evaluating conversational or summary intent first and catching direct cases without forcing the SLM, and then scoring candidate sources (article, profile, web, or external context such as Wikipedia and DuckDuckGo) with adjustments for pure commands, noise cleaning on web sources, history pruning, and confidence thresholds, the system gained both speed and accuracy. Output guardrails were added on top of this: asking for concise, grounded answers, checking figures and terms against available evidence, and returning the best extracted sentence directly when factual evidence is already clear and rewriting it with a small model would only introduce a risk of distortion.
What this journey with artificial intelligence has taught me
Looking back from that 2019 course in Ghent and my first neural experiments in spreadsheets and databases to designing hybrid architectures with small models, semantic retrieval, and intent routing, I feel my relationship with artificial intelligence has matured in a very organic way. I started by understanding AI from business strategy, use cases, and organisational maturity; later I felt the need to get my hands dirty and experiment on my own; and later still, practice in real environments with limited resources taught me that smart engineering is about understanding where each piece adds value, measuring what happens in production, and not relying on brute force when careful design solves the problem better.
The road remains open: reducing hallucinations further, sharpening pre-filtering of external sources, caching static embeddings to lower latency, exploring embedded vector databases, enriching answers with more formats, and keeping multilingual consistency are natural steps on a roadmap in constant adjustment. Yet the most valuable part of this whole process has been seeing that, with curiosity, patience, technical judgement, and good practical sense, it is possible to build useful and reliable systems even when constraints are demanding.