Update app.py
Browse files
app.py
CHANGED
|
@@ -10,8 +10,7 @@ from langchain_tavily import TavilySearch
|
|
| 10 |
from langchain_huggingface import ChatHuggingFace
|
| 11 |
from langchain_core.prompts import ChatPromptTemplate
|
| 12 |
from langchain_core.runnables import RunnablePassthrough
|
| 13 |
-
|
| 14 |
-
from langchain.agents.tool_calling_agent import create_tool_calling_agent
|
| 15 |
# -----------------------------------------------------------------
|
| 16 |
# OUTIL 1 : RECHERCHE WEB (TAVILY)
|
| 17 |
# -----------------------------------------------------------------
|
|
|
|
| 10 |
from langchain_huggingface import ChatHuggingFace
|
| 11 |
from langchain_core.prompts import ChatPromptTemplate
|
| 12 |
from langchain_core.runnables import RunnablePassthrough
|
| 13 |
+
ffrom langchain.agents import create_tool_calling_agent, AgentExecutor
|
|
|
|
| 14 |
# -----------------------------------------------------------------
|
| 15 |
# OUTIL 1 : RECHERCHE WEB (TAVILY)
|
| 16 |
# -----------------------------------------------------------------
|