Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: Lower default Content Safety self harm trigger
Clémence Lesné02562af380fe
diff --git a/README.md b/README.mdindex 4473f2a..9340841 100644--- a/README.md+++ b/README.md@@ -446,7 +446,7 @@ Moderation is applied on all bot data, including the web page and the conversaticontent_safety:category_hate_score: 0category_self_harm_score: 0- category_sexual_score: 5+ category_sexual_score: 2category_violence_score: 0```diff --git a/helpers/config_models/content_safety.py b/helpers/config_models/content_safety.pyindex 01102d4..0ec39dc 100644--- a/helpers/config_models/content_safety.py+++ b/helpers/config_models/content_safety.py@@ -5,7 +5,7 @@ class ContentSafetyModel(BaseModel):access_key: SecretStrblocklists: list[str] = []category_hate_score: int = Field(default=0, ge=0, le=7)- category_self_harm_score: int = Field(default=1, ge=0, le=7)+ category_self_harm_score: int = Field(default=0, ge=0, le=7)category_sexual_score: int = Field(default=2, ge=0, le=7)category_violence_score: int = Field(default=0, ge=0, le=7)endpoint: str