from the server in Flutter?
The data is not json
event: message
data: data: {"id":"chatcmpl-9G19nbaMyUdGsWJaJbd9wVtaGuQdw","object":"chat.completion.chunk","created":1713604723,"model":"gpt-3.5-turbo-0125","system_fingerprint":"fp_c2295e73ad","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
event: message
data: data: {"id":"chatcmpl-9G19nbaMyUdGsWJaJbd9wVtaGuQdw","object":"chat.completion.chunk","created":1713604723,"model":"gpt-3.5-turbo-0125","system_fingerprint":"fp_c2295e73ad","choices":[{"index":0,"delta":{"content":"Flutter"},"logprobs":null,"finish_reason":null}]}
It’s a json
When I paste it to vscode I get an error Expected a json object, array or literal
Обсуждают сегодня