https://discord.gg/botpress logo
calling Open AI API don't work
# 🤝help
q
Hello everyone, sorry if the question had been ask, i didn't find it. I'm new on botpress, it's my first bot and i followed a youtube video with a code to call the OpenAI API Key. I'm no code for the moment and as the code didn't work i asked to a code gpts to help me. To make a long story short, i don't find why the API key don't work , i have all the authorization. If someone may help me or do you have a tuto without code ? Thanks a lot https://cdn.discordapp.com/attachments/1258126452239634432/1258126452545556530/Capture_decran_2024-07-03_a_18.24.07.png?ex=6686e911&is=66859791&hm=ead3e15dea06c5523877bb27c8515e7184ffa13eae8a3afdcf66dd52f198819f& https://cdn.discordapp.com/attachments/1258126452239634432/1258126452881362994/Capture_decran_2024-07-03_a_18.24.17.png?ex=6686e911&is=66859791&hm=9f5c93f3b61b4051aabbd597f492d8f3e71344a94bd85922faa7354e9a0cb67a&
b
Could you share the tutorial? And try Claude AI too, I think that one is much better.
q
sure.

https://youtu.be/jgAwsb2pWA0?si=9fr5Euz6uQG8Prv-

Ok i 'll try claude to see. Thank you for the recomandation
Sure .

https://youtu.be/jgAwsb2pWA0?si=9fr5Euz6uQG8Prv-

. The guy did it on stack ai but as i met the same problem at the end i tried to connect directly with open ai. Thak you for claude recommandation.
Sure :

https://youtu.be/jgAwsb2pWA0?si=JX6Ymlt3c6ind2WS

I tried claude as you recommanded. The code allowed a connection tonthe API for few minutes without api answer. But now it don't work
It's seem i unallowed to send a youtube link. So the title is "création d'un chatbot AIAA à 2250€ en live (tuto complet) As you recommanded i used claude. It creates a code wich only use the botpress environnment. The code allowed a connection to the API for few minutes but after nothing works
q
You can try downloading other bots from #1132038253109837994 and #1120796649686573086 and see how the code using OpenAI API keys is working in those. For example, this https://discord.com/channels/1108396290624213082/1232193993836855347/1245425212313440436
q
Hi. I tried the tutorial about open ai and i have the same problem with the code. It's like the open api couldn't be reach. I changed the key without results 😭
message has been deleted
i
Same problem.. is it solved ? any way
3 Views