# Artificial Intelligence and Machine Learning with Java (#47)

> Episode of [Foojay.io | Friends of OpenJDK and Java Programming](https://podistic.com/podcast/foojayio-friends-of-openjdk-and-java-programming.md) · Published April 13, 2024 · Duration 44:30

- **Listen on Podistic:** https://podistic.com/episode/artificial-intelligence-and-machine-learning-with-java-47
- **Audio:** https://anchor.fm/s/10b9c3cfc/podcast/play/111118734/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2025-10-13%2F412396177-48000-2-288608f1ca99ac9c.mp3 (audio/mpeg)

## About this episode

About one and a half years ago, ChatGPT was launched. The way we search for information and develop software has changed a lot since then as the use of Artificial Intelligence suddenly became a lot easier. What can we expect in the near future, and how can we program AI ourselves with Java? Let's find out... 

## Guests

### Lize Raes

*   [https://www.linkedin.com/in/lize-raes-a8a34110/](https://www.linkedin.com/in/lize-raes-a8a34110/) 
*   [https://twitter.com/LizeRaes](https://twitter.com/LizeRaes) 
*   Personal blog: [www.epic.engineering](http://www.epic.engineering) 

### Lutske de Leeuw

*   [https://www.linkedin.com/in/lutske/](https://www.linkedin.com/in/lutske/) 

### Podcast Host: Frank Delporte

*   [https://foojay.social/@frankdelporte](https://foojay.social/@frankdelporte) 
*   [https://www.linkedin.com/in/frankdelporte/](https://www.linkedin.com/in/frankdelporte/)

## Content

00:00 Introduction of the topic and guests  
01:25 AI and ML, where to begin?

*   Foojay Podcast Episode #34: [https://foojay.io/today/foojay-podcast-34/](https://foojay.io/today/foojay-podcast-34/) 

05:06 Can LLM help to structure and query data?  
07:32 About LangChain4j

*   Project repository: [https://github.com/langchain4j/langchain4j](https://github.com/langchain4j/langchain4j)
*   Documentation and tutorials: [https://docs.langchain4j.dev/](https://docs.langchain4j.dev/) 
*   Talk "Java meets AI: A Hands On Guide to Building LLM Powered Applications with LangChain4j": [https://www.youtube.com/watch?v=BD1MSLbs9KE](https://www.youtube.com/watch?v=BD1MSLbs9KE) 
*   Vaadin chatbot in 20 lines of code: [https://twitter.com/marcushellberg/status/1760096226522148940](https://twitter.com/marcushellberg/status/1760096226522148940) 

11:29 Developers will work differently with AI

*   [https://foojay.io/today/foojay-podcast-29/](https://foojay.io/today/foojay-podcast-29/)
*   Talk "The New Superpower in the Developer's Toolbox" with more insights in where the field of software development will evolve in the AI era): [https://www.youtube.com/watch?v=rENT1fDR69I](https://www.youtube.com/watch?v=rENT1fDR69I) 

15:36 Concerns about your code being used by models  
18:17 Labeling data for models  
19:53 The cost of API requests versus local systems  
21:26 Future ideas for LangChain4j  
28:17 LangChain4j examples repository

*   [https://github.com/langchain4J/langchain4J-examples](https://github.com/langchain4J/langchain4J-examples) 
*   [https://webtechie.be/post/2024-03-18-search-documentation-javafx-chat-langchain4j/](https://webtechie.be/post/2024-03-18-search-documentation-javafx-chat-langchain4j/) 

29:20 Problems with a Chat AI User Interface  
32:54 Is AI just a hype, like blockchain was?  
36:42 Can AI help us to "fix the world"?

*   [https://sdgs.un.org/](https://sdgs.un.org/) 

38:45 Java evolutions to handle AI better

*   [https://www.tornadovm.org/](https://www.tornadovm.org/)
*   [https://openjdk.org/projects/sumatra/](https://openjdk.org/projects/sumatra/)
*   [https://openjdk.org/projects/panama/](https://openjdk.org/projects/panama/) 

40:56 About TornadoVM and GPU usage

*   [https://www.tornadovm.org/](https://www.tornadovm.org/) 
*   [https://foojay.io/today/foojay-podcast-45/](https://foojay.io/today/foojay-podcast-45/) 

43:10 Conclusions

## Music

*   Barbershop John
*   Hermine Deurloo
*   Synapse by Shane Ivers - https://www.silvermansound.com
