diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-11-05 12:37:49 +0100 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-11-05 12:37:49 +0100 |
commit | ed1b339726a7ec924aec502a00250ad658665c21 (patch) | |
tree | 0f8efe71c12c64524b6eab9ddea31475de06548d | |
parent | Update (g4f/models.py g4f/Provider/ChatGpt.py) (diff) | |
download | gpt4free-ed1b339726a7ec924aec502a00250ad658665c21.tar gpt4free-ed1b339726a7ec924aec502a00250ad658665c21.tar.gz gpt4free-ed1b339726a7ec924aec502a00250ad658665c21.tar.bz2 gpt4free-ed1b339726a7ec924aec502a00250ad658665c21.tar.lz gpt4free-ed1b339726a7ec924aec502a00250ad658665c21.tar.xz gpt4free-ed1b339726a7ec924aec502a00250ad658665c21.tar.zst gpt4free-ed1b339726a7ec924aec502a00250ad658665c21.zip |
-rw-r--r-- | g4f/Provider/ChatGptEs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/ChatGptEs.py b/g4f/Provider/ChatGptEs.py index a060ecb1..788ffcd9 100644 --- a/g4f/Provider/ChatGptEs.py +++ b/g4f/Provider/ChatGptEs.py @@ -57,7 +57,7 @@ class ChatGptEs(AsyncGeneratorProvider, ProviderModelMixin): 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]: |