Rams901 commited on
Commit
5e2cb28
1 Parent(s): 744be0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def retrieve_thoughts(query, ):
48
 
49
  # TO-DO: What if user query doesn't match what we provide as documents
50
 
51
- tier_1 = df[df['score'] < 0.7]
52
  tier_2 = df[((df['score'] < 1) * (df["score"] > 0.7))]
53
 
54
  chunks_1 = tier_1.groupby(['title', 'url', ]).apply(lambda x: "\n...\n".join(x.sort_values('id')['page_content'].values)).values
 
48
 
49
  # TO-DO: What if user query doesn't match what we provide as documents
50
 
51
+ tier_1 = df[df['score'] < 0.85]
52
  tier_2 = df[((df['score'] < 1) * (df["score"] > 0.7))]
53
 
54
  chunks_1 = tier_1.groupby(['title', 'url', ]).apply(lambda x: "\n...\n".join(x.sort_values('id')['page_content'].values)).values