Skip to main content

Web

2024

Create a RAG Chatbot With Spring AI
Spring-Ai Rag Vaadin Web Pgvector
This guide explains how to create a Retrieval-Augmented Generation (RAG) chatbot using Spring AI and Vaadin. It covers project setup, application configuration, backend and frontend development, document parsing with TikaDocumentReader, embedding generation with OpenAI, and storage in PostgreSQL using PGvector. It also shows how to build a chat interface for interacting with uploaded documents.
Configuring CORS in Spring Security 6
Spring-Security Cors Security-Filter-Chain Web
In this article, we explored how to configure CORS in Spring Security 6 by updating the SecurityFilterChain. We discussed both disabling CORS and setting up a custom CORS configuration to ensure your application remains secure and functional.