Building LLM Agents with Tool Use

Published: 17 April 2024
on channel: Jay Alammar
150,435
2.6k

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:
https://colab.research.google.com/git...
Github: https://github.com/cohere-ai/notebook...
LangChain Tools: https://python.langchain.com/docs/int...


Watch video Building LLM Agents with Tool Use online without registration, duration hours minute second in high quality. This video was added by user Jay Alammar 17 April 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 150,435 once and liked it 2.6 thousand people.