Spring AI Functions - How to register custom Java functions with the Chat Client

preview_player
Показать описание
In this tutorial we will take a look at function calling in Spring AI. This will allow you to register custom Java Functions that the LLM can call when it needs access to real time data. That is the example we will work through in this video and by the end you will have everything you need to start writing your own custom functions in Spring AI

Spring AI 1.0 Updates

The syntax for some of the features we went through in this video might have changed a little bit with the release of 1.0. Please check out this video I did on the changes in 1.0.0 M1

🔗Resources & Links mentioned in this video:

👋🏻Connect with me:

Рекомендации по теме
Комментарии
Автор

I'm having fun and learning a lot since I discovered your channel. Keep it up, your content has a lot of value (Sorry for my English, I use translator) Greetings from Argentina!

hernanbiondini
Автор

great video, great example & great explanation! I will be implementing this in my side project asap 😄

guuridev
Автор

Thank you for these videos. It is difficult to overestimate value of them.

otash
Автор

Thanks a lot Dan! Looking forward for more Spring AI videos

emirburak
Автор

Superb video! Thanks Dan! How does the magic of creating the right request object with the city happen during the callback?

saiaussie
Автор

What is the different between Tool and Function

pandeyZee
Автор

Is it already possible to build multi-agent applications in Spring AI like Langchain Multi-Agents, DSPy or Autogen? Are there any examples out there?

returncode
Автор

Hello! How can I get summary usage of tokens for 2 requests to OpenAI (for selecting a function and getting final result)?

natalya
Автор

How does the GPT knows when to call this callback function passed and when not to? Is it driven by callback function's name?

backtoGodhead
Автор

how does the mapping of the records work? Is it done automatically?

weitanglau