File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
recipes/use_cases/agents/langchain Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 138
138
"source" : [
139
139
" import replicate\n " ,
140
140
" \n " ,
141
+ " from langchain_core.messages import ToolMessage\n " ,
142
+ " from langchain_core.runnables import RunnableLambda\n " ,
141
143
" from langchain_core.tools import tool\n " ,
142
144
" from langgraph.prebuilt import ToolNode\n " ,
145
+ " \n " ,
143
146
" from langchain_community.tools.tavily_search import TavilySearchResults\n " ,
144
147
" \n " ,
145
148
" @tool\n " ,
375
378
" from langgraph.checkpoint.sqlite import SqliteSaver\n " ,
376
379
" from langgraph.graph import END, StateGraph\n " ,
377
380
" from langgraph.prebuilt import ToolNode, tools_condition\n " ,
378
- " from langchain_core.runnables import RunnableLambda\n " ,
379
381
" \n " ,
380
382
" # Graph\n " ,
381
383
" builder = StateGraph(State)\n " ,
690
692
"name" : " python" ,
691
693
"nbconvert_exporter" : " python" ,
692
694
"pygments_lexer" : " ipython3" ,
693
- "version" : " 3.10.14 "
695
+ "version" : " 3.11.8 "
694
696
}
695
697
},
696
698
"nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments