Skip to content

Request for Assistance with Splitting Tasks into Separate Agents and Creating an LangGraph Agentic Workflow #26340

Answered by dosubot bot
mraguth asked this question in Q&A
Discussion options

You must be logged in to vote

I found two similar discussions that might be relevant to your question:

  1. How I incorporate my Python_Pandas agent into workflow? [1]
  2. Turn a DataFrame agent into a tool? [2]

To create an agentic workflow in LangChain where the extra_tools or retriever_tool agent processes the DataFrame (df) first, refines the data, and then passes it to the agent_executor, you can follow these steps:

Step 1: Define the Tools

from langchain.tools.retriever import create_retriever_tool
from langchain_community.vectorstores import FAISS
from langchain_openai import OpenAIEmbeddings
from langchain_community.document_loaders import WebBaseLoader
from langchain_text_splitters import RecursiveCharacterTextSpli…

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
2 replies
@mraguth
Comment options

@dosubot
Comment options

Answer selected by mraguth
Comment options

You must be logged in to vote
1 reply
@dosubot
Comment options

Comment options

You must be logged in to vote
1 reply
@dosubot
Comment options

Comment options

You must be logged in to vote
5 replies
@dosubot
Comment options

@mraguth
Comment options

@dosubot
Comment options

@mraguth
Comment options

@dosubot
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant