Building LLM Agents with Tool Use

Опубликовано: 17 Апрель 2024
на канале: 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...


Смотрите видео Building LLM Agents with Tool Use онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Jay Alammar 17 Апрель 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 150,435 раз и оно понравилось 2.6 тысяч людям.