Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ def vector_search(query):
|
|
134 |
if res['matches']:
|
135 |
return [
|
136 |
{
|
137 |
-
'content': ' '.join(f"{k}: {v}" for k, v in match['metadata'].items() if k in CONTEXT_FIELDS and k != '
|
138 |
'metadata': match['metadata']
|
139 |
}
|
140 |
for match in res['matches']
|
|
|
134 |
if res['matches']:
|
135 |
return [
|
136 |
{
|
137 |
+
'content': ' '.join(f"{k}: {v}" for k, v in match['metadata'].items() if k in CONTEXT_FIELDS and k != 'Tag'),
|
138 |
'metadata': match['metadata']
|
139 |
}
|
140 |
for match in res['matches']
|