From 6b40531d76d8c1615bf038baf9c4121e7aabbb5c Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Fri, 21 Feb 2025 09:37:14 +0100 Subject: [PATCH] Update personality.py --- lollms/personality.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lollms/personality.py b/lollms/personality.py index fb82510..c232529 100644 --- a/lollms/personality.py +++ b/lollms/personality.py @@ -527,7 +527,8 @@ class AIPersonality: context: str = "", max_answer_length: int = None, conditionning: str = "", - return_explanation: bool = False + return_explanation: bool = False, + callback = None ) -> dict: """ Interprets a multi-choice question from a user's response. This function expects only one choice as true. @@ -590,7 +591,8 @@ class AIPersonality: context: str = "", max_answer_length: int = 50, conditionning: str = "", - return_explanation: bool = False + return_explanation: bool = False, + callback = None ) -> dict: """ Ranks answers for a question from best to worst. Returns a JSON object containing the ranked order.