Calling ChatGPT and OpenAI APIs in Spring Boot with Java

This article will guide you on integrating OpenAI APIs, such as ChatGPT, in your Spring Boot application. We will cover moderation, embedding, and chat completion requests. It is a part of our Building an AI chatbot in Java series. Prerequisites This tutorial assumes you already have a Spring Boot ...

Building and Deploying an AI Chatbot with Java: A Comprehensive Guide

A while back, I built the Vaadin Docs Assistant, a ChatGPT-based AI assistant that can answer technical questions about developing with Vaadin Flow or Hilla based on the latest available documentation. If you're curious about the concepts behind the assistant, I recommend my earlier blog post. In ...
Building a ChatGPT assistant for your documentation

How to build a ChatGPT assistant for your documentation

ChatGPT can be a helpful tool for development and learning. But only if it knows about the technology you're using. The problem with ChatGPT and many other Large Language Models (LLMs) is that they are only trained on data up to a certain date. Tools like Bing, Bard, and ChatGPT plugins allow ...
Hilla logo with text

Hilla 2.0: New features and an improved technology baseline using Spring Boot 3 and Java 17

We are happy to announce the release of version 2.0 of Hilla, the type-safe web framework for Spring Boot. This latest release represents a major milestone for Hilla, as it introduces a new technology baseline that utilizes Spring Boot 3, Java 17, and Jakarta EE 10. This means that you can continue ...
How to send web push notifications with Vaadin Flow

Step-by-Step Guide to Sending Web Push Notifications from Vaadin Flow

Updates on the subject: There are built-in helpers for Web Push API in Vaadin Flow available since version 24.2 Also check out Web Push Notifications: A real-world example with electricity prices Web push notifications are an effective way to keep users engaged with your web application even when ...

Toggle between light and dark theme in Vaadin Flow

Updated to Vaadin Flow 24 on 2023-02-23 A common question we get from Vaadin developers is how to switch on the dark theme variant dynamically. In this tutorial, I’ll show you how to turn it on permanently, and how to dynamically apply the dark variant to the entire application or only parts of it. ...
Kotlin and Vaadin

Kotlin and Vaadin for productive and fun web app development

Kotlin is a programming language that has gained much popularity over the last few years. Its concise and expressive syntax feels liberating compared to the verbosity of Java. Vaadin supports the Kotlin programming language through the Karibu-DSL library, which contains various extensions to use ...
Mobile phone widgets on a blue background.

Web apps vs Native mobile apps: Which one is better for you?

One of the first challenges in building an application is deciding which platforms to support. Native mobile apps offer great usability but are expensive to build. On the other hand, web apps work on all platforms but have traditionally been unable to deliver the same user experience as native ...
Green background with Foojay and Vaadin logos.

Vaadin joins Foojay advisory board

Java is at the core of everything we do at Vaadin. Since 2001, we've been building tools that help developers and companies using Java build great web applications. Today, we are happy to announce that Vaadin is joining the Foojay advisory board to help promote a thriving Java ecosystem. Foojay, ...