isayahc commited on
Commit
fcbd089
1 Parent(s): a7e19a7

added way to get the urls of papers in query

Browse files
Files changed (1) hide show
  1. mixtral_agent.py +11 -3
mixtral_agent.py CHANGED
@@ -85,7 +85,7 @@ agent_executor = AgentExecutor(
85
  agent=agent,
86
  tools=tools,
87
  verbose=True,
88
- handle_parsing_errors=True
89
  )
90
 
91
  # agent_executor.invoke(
@@ -100,10 +100,18 @@ agent_executor = AgentExecutor(
100
  # }
101
  # )
102
 
 
 
 
 
 
 
 
103
  agent_executor.invoke(
104
  {
105
- "input": "How to generate videos from images using state of the art macchine learning models"
 
 
106
  }
107
  )
108
 
109
-
 
85
  agent=agent,
86
  tools=tools,
87
  verbose=True,
88
+ handle_parsing_errors=True #prevents error
89
  )
90
 
91
  # agent_executor.invoke(
 
100
  # }
101
  # )
102
 
103
+ # agent_executor.invoke(
104
+ # {
105
+ # "input": "How to generate videos from images using state of the art macchine learning models"
106
+ # }
107
+ # )
108
+
109
+
110
  agent_executor.invoke(
111
  {
112
+ "input": "How to generate videos from images using state of the art macchine learning models; Using the axriv retriever " +
113
+ "add the urls of the papers used in the final answer using the metadata from the retriever"
114
+ # f"Please prioritize the newest papers this is the current data {get_current_date()}"
115
  }
116
  )
117