From ed1b339726a7ec924aec502a00250ad658665c21 Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Tue, 5 Nov 2024 13:37:49 +0200 Subject: [PATCH] Update (g4f/Provider/ChatGptEs.py) --- g4f/Provider/ChatGptEs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g4f/Provider/ChatGptEs.py b/g4f/Provider/ChatGptEs.py index a060ecb1a3..788ffcd950 100644 --- a/g4f/Provider/ChatGptEs.py +++ b/g4f/Provider/ChatGptEs.py @@ -57,7 +57,7 @@ async def create_async_generator( post_id = re.findall(r'data-post-id="(.+?)"', await initial_response.text())[0] conversation_history = [ - "Human: strictly respond in the same language as my prompt, preferably English" + "Human: You are a helpful AI assistant. Please respond in the same language that the user uses in their message. Provide accurate, relevant and helpful information while maintaining a friendly and professional tone. If you're not sure about something, please acknowledge that and provide the best information you can while noting any uncertainties. Focus on being helpful while respecting the user's choice of language." ] for message in messages[:-1]: