
6/23/2025 · Gong Yi
What this post added
This post provides a comprehensive tutorial on building a production-ready AI assistant by integrating Spring Boot, Milvus, and Ollama. It details the document ingestion pipeline using TikaDocReader and text splitting, generating embeddings, and storing them in Milvus. The RAG workflow is explained with an example of retrieval and memory integration using Redis. It also covers API security with Spring Security's RBAC and observability using OpenTelemetry and Micrometer, including specific configurations for tracing gRPC spans and exposing Prometheus metrics. The post includes runnable code examples and deployment instructions.