Build an AI-powered web app in 16 lines of Java! 🤯

preview_player
Показать описание
Learn how to create a simple Spring Boot project with a web UI for calling OpenAI ChatGPT in a couple of lines of Java code.

0:00 - Intro
0:10 - Creating the project with Spring Initializr
0:37 - Setting up the OpenAI API key
1:07 - Building the UI
3:05 - Finished application
Рекомендации по теме
Комментарии
Автор

Great! Now I understand more about vaadin.

avalagum
Автор

Cool 👍 Why Vaadin is not so popular ? 🤔 It's just amazing framework ❤

burbon_
Автор

Just one question vaadin register all of the frontend events on backend (JAVA) what is the performance impact when its calling server for each action like button click etc?

ilyasDotDev
Автор

LLaMA is integrated into applications by loading the model weights locally and using open source libraries, such as HuggingFace Transformers, to run the inference. There is no need for an API key, as in the case of OpenAI models, because you are running the model locally on your own infrastructure. What do you say to doing a local implementation instead of using the OpenAI API, and demonstrating Spring with LLaMa?

UXDesire
Автор

I doubt that Flow UI from Vaadin could cover even a quarter of the total demand required to implement enterprise-grade user interfaces in 2024. I can see it coming for Android development, but not for web, it does look more like GWT 2.0, we've been through this.

xxxxx-lg
Автор

Great video, earned a sub. Is the API free? Are there free alternatives?

KingofShorts
Автор

Forgive my ignorance, you have given a parameter for the use of chatgpt, but what in itself has accelerated development or produced something new?

UXDesire
visit shbcf.ru