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

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • 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
    • What's new in Spring A...
    🔗Resources & Links mentioned in this video:
    GitHub Repo: github.com/dan...
    Spring AI Documentation: docs.spring.io...
    👋🏻Connect with me:
    Website: www.danvega.dev
    Twitter: / therealdanvega
    Github: github.com/dan...
    LinkedIn: / danvega
    Newsletter: www.danvega.de...
    SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️

Комментарии • 13

  • @hernanbiondini
    @hernanbiondini 24 дня назад

    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!

  • @guuridev
    @guuridev 4 месяца назад +2

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

  • @otash07
    @otash07 4 месяца назад

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

  • @emirburak108
    @emirburak108 4 месяца назад

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

  • @saiaussie
    @saiaussie Месяц назад

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

  • @pandeyZee
    @pandeyZee 4 месяца назад +1

    What is the different between Tool and Function

  • @backtoGodhead0
    @backtoGodhead0 3 месяца назад

    fantastic

  • @returncode0000
    @returncode0000 2 месяца назад

    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?

  • @nataly9a
    @nataly9a 2 месяца назад

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

  • @backtoGodhead0
    @backtoGodhead0 3 месяца назад

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

  • @weitanglau162
    @weitanglau162 Месяц назад

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