Spaces:
Runtime error
Runtime error
Commit
·
d849d20
1
Parent(s):
060c316
Update main.py
Browse files
main.py
CHANGED
@@ -81,7 +81,9 @@ def perform_search_and_get_results_with_filter(collection_name, query,reference_
|
|
81 |
"Paragraphe": result.payload["paragraph"],
|
82 |
"source": result.payload["source"],
|
83 |
"titre": result.payload["titre"],
|
84 |
-
"collection": collection_name
|
|
|
|
|
85 |
}
|
86 |
resultes.append(result_dict)
|
87 |
return resultes
|
|
|
81 |
"Paragraphe": result.payload["paragraph"],
|
82 |
"source": result.payload["source"],
|
83 |
"titre": result.payload["titre"],
|
84 |
+
"collection": collection_name,
|
85 |
+
"hyperlink": result.payload["hyperlink"],
|
86 |
+
|
87 |
}
|
88 |
resultes.append(result_dict)
|
89 |
return resultes
|