|
@@ -2,23 +2,23 @@
|
|
|
|
|
|
### `Agents`
|
|
|
|
|
|
-LLM agents use [planning, memory, and tools](https://lilianweng.github.io/posts/2023-06-23-agent/) to accomplish tasks.Here, we show how to build agents capable of [tool-calling](https://python.langchain.com/docs/integrations/chat/) using [LangGraph](https://python.langchain.com/docs/langgraph) with Llama 3.
|
|
|
+LLM agents use [planning, memory, and tools](https://lilianweng.github.io/posts/2023-06-23-agent/) to accomplish tasks. Here, we show how to build agents capable of [tool-calling](https://python.langchain.com/docs/integrations/chat/) using [LangGraph](https://python.langchain.com/docs/langgraph) with Llama 3.
|
|
|
|
|
|
- Agents can empower Llama 3 with important new capabilities. In particular, we will show how to give Llama 3 the ability to perform web search, as well as multi-modality: image generation (text-to-image), image analysis (image-to-text), and voice (text-to-speech) tools!
|
|
|
+Agents can empower Llama 3 with important new capabilities. In particular, we will show how to give Llama 3 the ability to perform web search, as well as multi-modality: image generation (text-to-image), image analysis (image-to-text), and voice (text-to-speech) tools!
|
|
|
|
|
|
Tool-calling agents with LangGraph use two nodes: (1) a node with an LLM decides which tool to invoke based upon the user question. It outputs the tool name and arguments to use. (2) the tool name and arguments are passed to a tool node, which calls the tool itself with the specified arguments and returns the result back to the LLM.
|
|
|
|
|
|

|
|
|
|
|
|
-Our first notebook, `langgraph-tool-calling-agent`, show how to build our agent mentioned above using Langgraph.
|
|
|
+Our first notebook, `langgraph-tool-calling-agent`, shows how to build our agent mentioned above using LangGraph.
|
|
|
|
|
|
-See this [video overview](xxx) for more detail on the design of this agent.
|
|
|
+See this [video overview](https://www.loom.com/share/ae10a5bc13e146efba2c446b626f6411) for more detail on the design of this agent.
|
|
|
|
|
|
---
|
|
|
|
|
|
### `RAG Agent`
|
|
|
|
|
|
-Our second notebook, `langgraph-rag-agent`, shows how to apply LangGraph to build a custom Llama 3 powered RAG agent that use ideas from 3 papers:
|
|
|
+Our second notebook, `langgraph-rag-agent`, shows how to apply LangGraph to build a custom Llama 3 powered RAG agent that uses ideas from 3 papers:
|
|
|
|
|
|
* Corrective-RAG (CRAG) [paper](https://arxiv.org/pdf/2401.15884.pdf) uses self-grading on retrieved documents and web-search fallback if documents are not relevant.
|
|
|
* Self-RAG [paper](https://arxiv.org/abs/2310.11511) adds self-grading on generations for hallucinations and for ability to answer the question.
|