I'm trying to integrate openai (==0.27.6) into my system, and it works kinda fine, however, the replies I'm getting through the API are totally worse than the answers from the web interface (https://chat.openai.com/chat) .
The way I'm using it with the API (python) is:
completitions = openai.ChatCompletion.create(
model = 'gpt-3.5-turbo',
messages=[
{
'role': 'user',
'content': prompt,
}
]
)
At this version I'm not using other parameters, like temperature, however, previously with version 0.26.4 I used this:
completitions = openai.Completion.create(\
engine='text-davinci-002',
prompt=prompt,
max_tokens=4000,
n=3,
stop=None,
temperature=0.8
)
.
Do You guys have any idea how can I set the first example code to give similar answers to the web interface? There' re many parameters that can be set, however, I did not find any documentation about the used values for the web interface.
Thanks.