I had a Spring Boot API talking to AI providers, and at first it did the most obvious thing: send the prompt, wait for the model to finish, and then return the full response as JSON. It worked. But it also felt wrong. When you are dealing with AI-generated text, waiting several seconds for a complete response is a pretty bad experience. The model is already producing tokens progressively, but the API was hiding that and making the client wait for everything.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Allan Roberto
Running LLMs Locally with Ollama: Benefits, Limitations, and Hardware Reality
Large Language Models (LLMs) are everywhere β but most developers rely heavily on cloud providers like OpenAI, Anthropic, or Azure. But what if you could run models locally on your machine? Thatβs where Ollama comes in. In this article, Iβll explain: Why you should consider using Ollama When it makes sense The real limitations (especially GPU vs CPU) Lessons learned from using it in a Spring Boot project Ollama is a tool that allows you to run LLMs locally with a simple CLI/API.
Building Semantic Search with Spring Boot, PostgreSQL, and pgvector (RAG Retrieval)
In the previous article, we built the indexing pipeline for our knowledge base: documents are saved content is split into chunks embeddings are generated vectors are stored in PostgreSQL using pgvector But indexing is only half of the system. The real value comes when users can ask questions and receive answers based on the indexed knowledge. In this article we will implement the retrieval side of the architecture using Spring Boot.
Building a Simple REST API in Go (Without Frameworks)
Modern backend development often starts with a framework. But sometimes the best way to understand a language is to remove the abstractions. In this project, I built a minimal REST API in Go using only the standard library, without any external frameworks. The goal is simple: demonstrate how HTTP APIs work internally in Go. 👉 Project repository: go-native-api-sample Frameworks are powerful, but they can hide important concepts.
Indexing Knowledge Base Content with Spring Boot and pgvector
In the previous article, we configured PostgreSQL as a vector database using pgvector. But a vector database alone is not enough. Before we can query embeddings, we must index our data. In a real AI knowledge base, indexing usually follows a pipeline like this: Document saved → event published → content chunked → embeddings generated → chunk vectors stored in PostgreSQL This design separates the document persistence layer from the AI indexing process, making the system easier to scale and maintain.
start with vectorizetion using docker and postgres
start with vectorizetion using docker and postgres
Meaning: How Data Vectorization Powers AI
Modern AI systems do not search for exact words — they search for meaning. Traditional databases rely on keyword matching, which often fails to capture semantic relationships between texts. AI systems solve this by converting text into vector embeddings, numerical representations that capture semantic meaning. This process is called vectorization. Consider this SQL query: SELECT * FROM articles WHERE content LIKE '%java concurrency%' This query only finds exact text matches.
Inappropriate Use of Tumor Markers in Asymptomatic Patients: A Systematic Review and Proposed Follow-Up Algorithm
Document Type : Systematic Review and Meta-analysis Authors Silvio Matsas 1 Allan Roberto Bueso Pineda 2 Sakditad Saowapa 3 Andrea Ortiz Maldonado 2 Carolina Molina Llata 4 J Drew Payne 2 Dolores Buscemi 2 Asif Farooq 5 Kishore Karri 5 Auro Del Giglio 6 1 Center for Hematology and Oncology Studies and Research (CEPHO), Santo André, SP, Brazil. 2 Department of Internal Medicine, Texas Tech University Health Sciences Center, Lubbock, TX, USA.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Allan
Contact Allan, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack