Skip to content

Commit

Permalink
change log message
Browse files Browse the repository at this point in the history
  • Loading branch information
mruwnik committed Nov 1, 2023
1 parent 21ee1fe commit 0fef240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def is_text_risky(self, text: str) -> bool:
self.log.debug(self.class_name, msg=f"OpenAI moderation response: {json.dumps(response)}")
return True

self.log.info(self.class_name, msg=f"Checked with content filter, it says the text looks clean")
self.log.info(self.class_name, msg="Checked with content filter, it doesn't violate any of our categories")
return False

def get_engine(self, message: ServiceMessage) -> OpenAIEngines:
Expand Down

0 comments on commit 0fef240

Please sign in to comment.