filmov
tv
The Magic of AI Services with LangChain4J
Показать описание
LangChain4J is a port of the Python project LangChain to the Java world. It has many capabilities, but one particularly useful one is that it can generate AI “services” from a simple interface that interact with whatever language model you choose.
This video demonstrates:
* How to set up a Java project that uses LangChain4J
* How to log requests and responses
* How to submit requests to LLMs like OpenAI
* How to test the responses
* How the Gson parser works under the hood
Tales from the jar side:
Welcome to Tales from the jar side! New newsletter every Sunday, new newsletter video every Monday, and additional technical videos (Java, Gradle, JUnit, Spring, and lots more) every week.
Affiliate links:
These are products I use on a regular basis. If you click on them, your price doesn't change, but I may receive a small referral fee. Feel free to try them out.
This is a great program for transcribing videos and letting you edit them by editing the transcript. It also has several AI features like Studio Sound, Background Removal, Eye Tracking, Autodub, and more. I use it especially for YouTube Shorts.
This is about the best tool around for giving you statistics on YouTube videos.
I use this as my primary way of making screenshots. You can save them locally or to the cloud, crop and do other edits, add backgrounds, and more.
This is where my first book, "Making Java Groovy", was published, but you can use the link for any Manning books
00:00 - Welcome to Tales from the jar side
00:25 - Introducing LangChain4J
02:00 - langchain4j-examples project
02:46 - Setting up a LangChain4J project
03:37 - Hello, LangChain!
04:50 - PromptTemplates
06:48 - AI Services
08:19 - A Translator Service
10:39 - Sentiment Analyzer
13:07 - DateTimeExtractor
14:51 - Extracting a Record
15:38 - Adding Logging
This video demonstrates:
* How to set up a Java project that uses LangChain4J
* How to log requests and responses
* How to submit requests to LLMs like OpenAI
* How to test the responses
* How the Gson parser works under the hood
Tales from the jar side:
Welcome to Tales from the jar side! New newsletter every Sunday, new newsletter video every Monday, and additional technical videos (Java, Gradle, JUnit, Spring, and lots more) every week.
Affiliate links:
These are products I use on a regular basis. If you click on them, your price doesn't change, but I may receive a small referral fee. Feel free to try them out.
This is a great program for transcribing videos and letting you edit them by editing the transcript. It also has several AI features like Studio Sound, Background Removal, Eye Tracking, Autodub, and more. I use it especially for YouTube Shorts.
This is about the best tool around for giving you statistics on YouTube videos.
I use this as my primary way of making screenshots. You can save them locally or to the cloud, crop and do other edits, add backgrounds, and more.
This is where my first book, "Making Java Groovy", was published, but you can use the link for any Manning books
00:00 - Welcome to Tales from the jar side
00:25 - Introducing LangChain4J
02:00 - langchain4j-examples project
02:46 - Setting up a LangChain4J project
03:37 - Hello, LangChain!
04:50 - PromptTemplates
06:48 - AI Services
08:19 - A Translator Service
10:39 - Sentiment Analyzer
13:07 - DateTimeExtractor
14:51 - Extracting a Record
15:38 - Adding Logging
Комментарии