DEEPAK ACHARYA
DEEPAK ACHARYA
How we can execute the sql query in database which is generated by the llm using agent ????
import os from langchain_google_genai import ChatGoogleGenerativeAI from crewai import Agent, Task, Crew, Process from langchain_community.tools import DuckDuckGoSearchRun this worked for me
**This is the working version** `from strands import Agent from strands_tools import use_llm from strands_tools import memory agent = Agent(tools=[memory]) memory_agent = Agent( tools=[memory, use_llm], ) memory_agent.tool.memory( action="store", content="Important information...