This project is a Spring Boot application that integrates a Chat UI powered by OpenAI using Vaadin. It provides a responsive interface for interacting with OpenAI's conversational models.
![vaadin-spring-ai-open-ai-chat](https://private-user-images.githubusercontent.com/991105/325269470-d7216455-f28e-4d34-8cd0-f7f1074f6087.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMTQ1MjQsIm5iZiI6MTcyNjExNDIyNCwicGF0aCI6Ii85OTExMDUvMzI1MjY5NDcwLWQ3MjE2NDU1LWYyOGUtNGQzNC04Y2QwLWY3ZjEwNzRmNjA4Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMlQwNDEwMjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02MzNlZDJhNTJmZTdjMGVjZmY0ZjYxOTBmYTEwMTQ2ZjBiNDM4MGFjMjhiOTM5OGRjNTY2MWViMTA2MjMxNGYxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.SbdEuG2MOisjz_Q62HGTQiJtb7g_SH9QpHRknZaE0oI)
- Full-stack application with Vaadin frontend and Spring Boot backend.
- Real-time chatting capability using OpenAI.
- Dynamic message streaming and display of Markdown.
- JDK 17 or later
- Maven 3.6 or later
OPENAI_API_KEY=<your api key here> mvn spring-boot:run