Skip to content

Commit

Permalink
Update (g4f/Provider/ChatGptEs.py)
Browse files Browse the repository at this point in the history
  • Loading branch information
kqlio67 committed Nov 5, 2024
1 parent ade7a2f commit ed1b339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g4f/Provider/ChatGptEs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit ed1b339

Please sign in to comment.