venkat-srinivasan-nexusflow commited on
Commit
1ce433e
1 Parent(s): 60830f3

Update langchain_example.py

Browse files

Print results of the first call.

Files changed (1) hide show
  1. langchain_example.py +1 -0
langchain_example.py CHANGED
@@ -143,5 +143,6 @@ agent_chain = AgentExecutor.from_agent_and_tools(agent=agent, tools=tools, verbo
143
  call = agent_chain.run(
144
  "I have a cake that is about 3 centimenters high and 200 centimeters in radius. How much cake do I have?"
145
  )
 
146
  call = agent_chain.run("What is 1+10?")
147
  print(exec(call))
 
143
  call = agent_chain.run(
144
  "I have a cake that is about 3 centimenters high and 200 centimeters in radius. How much cake do I have?"
145
  )
146
+ print(exec(call))
147
  call = agent_chain.run("What is 1+10?")
148
  print(exec(call))