mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-13 22:02:56 +00:00
Update personality.py
This commit is contained in:
parent
1d40e4d4f3
commit
6b40531d76
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user