Thank you for the tutorial! Very concise and informative! I especially liked the part where you describe how the stack works and that you covered all of the installation requirements.
thanks for the tutorial, I can connect it to my phone, but it shows this" Property 'constPrompt' doesn't exist at Main.js:17:26 in handleInput at Main.js:15:19 in Main at node_modules/react-native/Libraries/Pressability/Pressability.js:758:17 in _performTransitionSideEffects at node_modules/react-native/Libraries/Pressability/Pressability.js:695:40 in _receiveSignal - ... 21 more stack frames from framework internals" how to fix this error? thanks
Thanks for the tutorial. One question, how do you make the output streamable?
Thank you for the tutorial! Very concise and informative! I especially liked the part where you describe how the stack works and that you covered all of the installation requirements.
thanks for the tutorial,
I can connect it to my phone,
but it shows this"
Property 'constPrompt' doesn't exist
at Main.js:17:26 in handleInput
at Main.js:15:19 in Main
at node_modules/react-native/Libraries/Pressability/Pressability.js:758:17 in _performTransitionSideEffects
at node_modules/react-native/Libraries/Pressability/Pressability.js:695:40 in _receiveSignal
- ... 21 more stack frames from framework internals"
how to fix this error? thanks
do you have the constPrompt variable defined there?
Tried changing the model from text-davinci-003 to gpt-3.5-turbo but it doesn't work, why isn't it working?
What's the error?
@@bitheap-tech comes back with just a 404 error, when literally all I did was change from Davinci to gpt-3.5-turbo
There's a different endpoint for this model:
const apiUrl = 'api.openai.com/v1/completions';
@@bitheap-tech Where in the project do i need to do that? Below the configuration with API key?
@@BallerMcBallersonn instead of createCompletion function you need to use createChatCompletion
can you share your github's link
My personal one? Here it is: github.com/LaurentiuGabriel
And this is the link for the project: github.com/LaurentiuGabriel/chatbot_demo
great tutorial!
Glad you think so!
getting a prototype error for openai import
Let's sync on discord. I haven't seen this error
Excellent
Thank you so much 😀
Is that free? or we have to pay?
You pay if you exceed the free quota of accepted calls