From ec519cf6ef6129afacb34254f270e4dd0dcf0c0b Mon Sep 17 00:00:00 2001 From: Kaan Keskin Date: Wed, 27 Nov 2024 11:59:05 +0000 Subject: [PATCH] fix --- streamlit/utils/moderation_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/streamlit/utils/moderation_utils.py b/streamlit/utils/moderation_utils.py index 6023767..49d3974 100644 --- a/streamlit/utils/moderation_utils.py +++ b/streamlit/utils/moderation_utils.py @@ -90,6 +90,7 @@ def generate_moderation_prompt(category_groups: List[dict], lesson_plan: str) -> """ + def correct_schema(schema: dict) -> dict: """Fix schema issues incompatible with OpenAI.""" if "minimum" in schema: