Skip to content

Unreadable Response from OpenAI API on Different Machines #311

Closed Answered by vasemax
vasemax asked this question in Q&A
Discussion options

You must be logged in to vote

Hello everyone,

I'm pleased to report that I've identified the cause of the problem I was facing and I'd like to share the solution with the community.

The root of the issue was the difference in regional settings between my development machine and the client machines. On my machine, the decimal separator was '.', while on the client machines it was ','. This discrepancy affected how the temperature parameter was interpreted in the API request.

When client machines sent the request, due to the different decimal separator, the temperature setting of 0.2 was misinterpreted as 2. This resulted in the received gibberish responses.

I was able to identify this issue by monitoring the requests a…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@vasemax
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by vasemax
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants