Recent Posts

Beyond Keywords: Implementing Semantic Search in Java With Spring Data (Part 1)

Author: Ricardo Mello Original post on Foojay: Read More Table of Contents The magic behind vector searchPrerequisitesEmbeddings with Voyage AIPreparing the datasetMongoDB Atlas Vector Search (index and retrieval)Building the movie search app Configuring the application The document model Wire the request DTO Communicating with Voyage AI The EmbeddingService Querying with Spring Data Vector Search operation The MovieController Running the application …

Read More »

How Chat Memory Manipulation Can Ruin Your AI System

Author: Brian Vermeer Original post on Foojay: Read More Table of Contents Do LLMs have any conversational memory?Implementing chat memory in your AI app Chat messages with Java’s Langchain4J LLM chat memory injection Chat memory injection: Proof of concept Preventing chat memory manipulation is key Do LLMs have any conversational memory? With the use of ChatGPT, Claude, and Copilot, we …

Read More »

7 Habits of Highly Effective Java Coding

Author: Jonathan Vila Original post on Foojay: Read More Table of Contents From AI User to AI Pro 1. The Golden Rule: Take Pride and Ownership in Your Craft 2. Feed the Beast: Your Project’s Context is its Fuel 3. Dodge the “Ball of Mud”: Keep Your Code Maintainable 4. Clean Your Room: No Stray Code or Sketchy Dependencies 5. …

Read More »