From 0e07ae77cf190f90962e1f2032f94e2923d72941 Mon Sep 17 00:00:00 2001 From: "grandsonneo@gmail.com" Date: Fri, 21 Jul 2023 22:17:53 -0400 Subject: Use the temperature parameter --- g4f/Provider/Providers/Ails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/Provider/Providers/Ails.py') diff --git a/g4f/Provider/Providers/Ails.py b/g4f/Provider/Providers/Ails.py index f6174f85..60d3603e 100644 --- a/g4f/Provider/Providers/Ails.py +++ b/g4f/Provider/Providers/Ails.py @@ -75,7 +75,7 @@ def _create_completion(model: str, messages: list, temperature: float = 0.6, str json_data = json.dumps(separators=(',', ':'), obj={ 'model': 'gpt-3.5-turbo', - 'temperature': 0.6, + 'temperature': temperature, 'stream': True, 'messages': messages} | sig) -- cgit v1.2.3