is there any way to stream response word by word of chatgpt api directly in react native (with javascript)
I want to use Chat GPT Turbo api directly in react native (expo) with word by word stream here is working example without stream fetch(`https://api.openai.com/v1/chat/completions`, { body: JSON.stringify({ model: 'gpt-3.5-turbo', messages: [{ role: 'user', content: 'hello' }], temperature: 0.3, max_tokens:…