Shakhovak commited on
Commit
69f2a1b
1 Parent(s): ccc5364

Update retrieve_bot.py

Browse files
Files changed (1) hide show
  1. retrieve_bot.py +1 -1
retrieve_bot.py CHANGED
@@ -44,7 +44,7 @@ class ChatBot:
44
  utterance, self.ranking_model, contexts=self.conversation_history
45
  )
46
  bot_cosine_scores = cosine_sim(self.vect_data, query_encoding)
47
- top_scores, top_indexes = top_candidates(bot_cosine_scores, top=10)
48
 
49
  # test candidates and collects them with label 0 to dictionary
50
 
 
44
  utterance, self.ranking_model, contexts=self.conversation_history
45
  )
46
  bot_cosine_scores = cosine_sim(self.vect_data, query_encoding)
47
+ top_scores, top_indexes = top_candidates(bot_cosine_scores, top=5)
48
 
49
  # test candidates and collects them with label 0 to dictionary
50