Skip to content

Commit

Permalink
Merge pull request #251 from TogetherCrew/feat/218-violation-detection
Browse files Browse the repository at this point in the history
feat: violation detection limiting the number of chat completions to 1!
  • Loading branch information
amindadgar authored Aug 7, 2024
2 parents 9ecc2bd + b196840 commit 7996240
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dags/violation_detection_helpers/utils/classify.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def classify(self, text: str) -> str:
+ "\n\n[VIOLATION DETECTIONS]\n",
},
],
n=1,
)

# the label to add to general data structure
Expand Down

0 comments on commit 7996240

Please sign in to comment.