Building LLM Agents with Tool Use

Sdílet
Vložit
  • čas přidán 16. 04. 2024
  • Tool use is a method whichs allows developers to connect Cohere's Command models to external tools like search engines, APIs, databases, and other software tools. Just like how Retrieval-Augmented Generation (RAG) allows a model to use an external data source to improve factual generation, tool use is a capability that allows retrieving data from multiple sources. But it goes beyond simply retrieving information and is able to use software tools to execute code, or even create entries in a CRM system.
    In this video, we'll see how we can use two tools to create a simple data analyst agent that is able to search the web and run code in a python interpreter. This agent uses Cohere's Command R+ mode and Langchain.
    Find the code here at Colab:
    colab.research.google.com/git...
    Github: github.com/cohere-ai/notebook...
    LangChain Tools: python.langchain.com/docs/int...

Komentáře • 15

  • @mailmahee
    @mailmahee Před 2 měsíci +1

    Fantastic, thanks for the explanation Jay! Relevant for several use-cases...

  • @SerranoAcademy
    @SerranoAcademy Před 2 měsíci +5

    Great video on LLM tool use, thanks Jay!

  • @connorshorten6311
    @connorshorten6311 Před 2 měsíci +1

    Love this explanation! Incredible work as always!

  • @abdeljalilelmajjodi4954
    @abdeljalilelmajjodi4954 Před 2 měsíci

    thank you Jay for this beautiful explanation

  • @itsSandraKublik
    @itsSandraKublik Před 2 měsíci

    Wonderful walkthrough! 😍

  • @RakeshGupta-ft6cc
    @RakeshGupta-ft6cc Před měsícem

    Does the agent use an LLM to determine the steps? Can you cover these internal details?

  • @sanesanyo
    @sanesanyo Před 2 měsíci

    Hi Jay, great video. What if the user wants to also provide his/her own data and ask questions related to that, which might also require outside world knowledge (this web search as a tool might still be useful)?

    • @arp_ai
      @arp_ai  Před 2 měsíci

      Yeah, should also be possible. The web search is just an example.

  • @liorbalmas1260
    @liorbalmas1260 Před 2 měsíci

    Can Tools work only with Langchain?
    If not, a more general example would be nice..

    • @arp_ai
      @arp_ai  Před 2 měsíci

      Langchain is the suggested method now for Command R+, yeah. What other frameworks do you find relevant here?

  • @mehmetbakideniz
    @mehmetbakideniz Před 2 měsíci +1

    would be better if you could explain the code line by line instead of just mentioning briefly what they are doing. Great video otherwise. I learn alot from your videos.

  • @AP-hv5dh
    @AP-hv5dh Před 2 měsíci

    🔥🔥🔥

  • @user-tp1rp2mc7c
    @user-tp1rp2mc7c Před 2 měsíci

    😮