Spaces:
Sleeping
Sleeping
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
app.py
CHANGED
@@ -71,7 +71,7 @@ if __name__ == "__main__":
|
|
71 |
metadatas=[
|
72 |
{
|
73 |
"query":query,
|
74 |
-
"
|
75 |
}
|
76 |
]
|
77 |
)
|
|
|
71 |
metadatas=[
|
72 |
{
|
73 |
"query":query,
|
74 |
+
"sources":result['sources'].__str__()
|
75 |
}
|
76 |
]
|
77 |
)
|