Keeping State in a Stateless World: Building a Context-Aware Gemini Microservice with Spring AI and H2 By default, Large Language Models (LLMs) are completely stateless . Every API call you make to Google Gemini is treated like a first-time introduction. If a user says " My name is Alex " in request one, and " What is my name? " in request two, Gemini will not know the answer. To build a true chatbot experience, your microservice needs to remember the conversation history. In this pos...