C2MV commited on
Commit
80ced1a
1 Parent(s): 896aced

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 != 'Etiqueta'),
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']