-
chatbot setup problem
To follow the video tutorial linked here, I attempted to create a chatbot. Everything is set up correctly, but when I provide a prompt, I receive the message: “Oops! Something went wrong!”
you can check it out here : https://you.bestasiandishes.com/first-chatbot/
I am using the following Free API URL and key:
php
$api_url = 'https://api.openai.com/v1/chat/completions'; $api_key = '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'; // Replace with your actual API key
I’m not sure if the issue is related to using OpenAI’s free API or something else. Could you please clarify if free API usage is supported and what might be causing the error?
Log in to reply.