Asaad Almutareb commited on
Commit
20c0b13
·
1 Parent(s): 92304dd

saving the sources to the metadata of the conversation memory, removing the intermediate steps, as they confuse the agent

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ if __name__ == "__main__":
71
  metadatas=[
72
  {
73
  "query":query,
74
- "intermediate_steps":result['intermediate_steps'].__str__()
75
  }
76
  ]
77
  )
 
71
  metadatas=[
72
  {
73
  "query":query,
74
+ "sources":result['sources'].__str__()
75
  }
76
  ]
77
  )