Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
BeachWang committed Dec 17, 2024
1 parent a76d975 commit 2fb9fe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data_juicer/ops/mapper/dialog_intent_detection_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ def build_input(self, history, query):
if self.intent_candidates:
input_prompt = self.candidate_template.format(
candidate_str=','.join(self.intent_candidates))
else:
input_prompt = ''

if self.max_round > 0:
input_prompt += ''.join(history[-self.max_round * 4:])
Expand Down

0 comments on commit 2fb9fe4

Please sign in to comment.