Update agent.py
Browse files
agent.py
CHANGED
|
@@ -1,10 +1,9 @@
|
|
| 1 |
import os
|
| 2 |
from typing import Dict
|
| 3 |
from langchain.agents import initialize_agent, AgentType
|
| 4 |
-
from
|
|
|
|
| 5 |
from langchain_community.tools import DuckDuckGoSearchRun
|
| 6 |
-
from langchain.tools import WikipediaQueryRun
|
| 7 |
-
from langchain.utilities import WikipediaAPIWrapper
|
| 8 |
from langchain_experimental.tools.python.tool import PythonREPLTool
|
| 9 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
| 10 |
|
|
|
|
| 1 |
import os
|
| 2 |
from typing import Dict
|
| 3 |
from langchain.agents import initialize_agent, AgentType
|
| 4 |
+
from langchain_community.tools import Tool, WikipediaQueryRun
|
| 5 |
+
from langchain_community.utilities import WikipediaAPIWrapper
|
| 6 |
from langchain_community.tools import DuckDuckGoSearchRun
|
|
|
|
|
|
|
| 7 |
from langchain_experimental.tools.python.tool import PythonREPLTool
|
| 8 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
| 9 |
|