I have this JSON:
{"model":"gpt-4-1106-preview","messages":[{"role":"system","content":""},{"role":"user","content":"Hello"}],"temperature":0,"max_tokens":1024}
After import the temperature doesn't set to 0.
If I use this JSON (temperature is a string):
{"model":"gpt-4-1106-preview","messages":[{"role":"system","content":""},{"role":"user","content":"Hello"}],"temperature":"0","max_tokens":1024}
The run button shows me this error message:
invalid_text_request
json: cannot unmarshal string into Go struct field GeneralOpenAIRequest.temperature of type float64 (request id: 2024032218183983495356363500551)