Is it possible to fully copy the answers of ChatGPT web using the API in December 2024? Is there a particular set parameters like temperature or specific system messages that would allow to achieve that?
I used the API in the following way and tried various models: gpt-4o
, gpt-4o-mini
, gpt-3.5-turbo
import os
from openai import OpenAI
openai = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))
response = openai.chat.completions.create(
model='gpt-4o-mini',
messages=[{"role": "user", "content": 'What is boiling point of water?'}],
)
print(response.choices[0].message.content)