Building LLM Agents with Tool Use

Поділитися
Вставка
  • Опубліковано 6 вер 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...
    Github: github.com/coh...
    LangChain Tools: python.langcha...

КОМЕНТАРІ • 19

  • @mailmahee
    @mailmahee 4 місяці тому +11

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

  • @RakeshGupta-ft6cc
    @RakeshGupta-ft6cc 3 місяці тому +6

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

  • @SerranoAcademy
    @SerranoAcademy 4 місяці тому +6

    Great video on LLM tool use, thanks Jay!

  • @icapservices1536
    @icapservices1536 4 дні тому

    Great example thanks Jay 😃

  • @connor-shorten
    @connor-shorten 4 місяці тому +1

    Love this explanation! Incredible work as always!

  • @itsSandraKublik
    @itsSandraKublik 4 місяці тому

    Wonderful walkthrough! 😍

  • @abdeljalilelmajjodi4954
    @abdeljalilelmajjodi4954 4 місяці тому

    thank you Jay for this beautiful explanation

  • @sanesanyo
    @sanesanyo 4 місяці тому

    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  4 місяці тому

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

  • @moabdelmoez
    @moabdelmoez Місяць тому

    @Jay, Thank you for the explanation. I found the Colab link is not working, Can you share the updated link, please?

    • @arp_ai
      @arp_ai  Місяць тому

      Thanks for the heads up! Updated!

  • @mehmetbakideniz
    @mehmetbakideniz 4 місяці тому +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.

  • @liorbalmas1260
    @liorbalmas1260 4 місяці тому

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

    • @arp_ai
      @arp_ai  4 місяці тому

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

  • @AP-hv5dh
    @AP-hv5dh 4 місяці тому

    🔥🔥🔥

    • @AP-hv5dh
      @AP-hv5dh 4 місяці тому

      Outstanding Jay!

  • @user-tp1rp2mc7c
    @user-tp1rp2mc7c 4 місяці тому

    😮