Exploring artificial intelligence, machine learning, and prompt engineering techniques.

All AI Articles

Understanding Embeddings, Vector Search, and RAG with Spring AI

Learn the foundational concepts of AI-powered search and question-answering systems. This comprehensive guide covers embeddings, vector databases, semantic search, and Retrieval-Augmented Generation (RAG) with practical Spring AI implementation examples using PostgreSQL PgVector.

Topics: Embeddings, vector search, semantic search, RAG (Retrieval-Augmented Generation), Spring AI, PgVector, vector databases, HNSW indexing, OpenAI, Ollama, cosine similarity
Date: 2025-11-06


Prompt Engineering with Claude: Tutorial Summary

A comprehensive summary of key lessons from the Anthropic prompt engineering interactive tutorial. Learn effective techniques for working with Claude using the Messages API, including clear prompting, role assignment, XML tags, few-shot learning, and avoiding hallucinations.

Topics: Basic prompt structure, clear instructions, role prompting, XML tags, output formatting, step-by-step thinking, few-shot examples, hallucination prevention