drb 11 Posted May 17, 2023 Report Share Posted May 17, 2023 I have created an API key at ChatGPT. It is not a chat GPT4 one yet as I am still on waitlist. The API Key I have been issued doesnt appear to work with my UBOT even though I have selected ChapGPT Turbo 3.5 in ubot options. Am I doing something wrong? Cant wait to get started with this. Anybody else up and running? Some sample code I could use to make sure Im doing things right would be cool. Quote Link to post Share on other sites
Seth Turin 223 Posted May 18, 2023 Report Share Posted May 18, 2023 Hey! Exciting times, isn't it? 😄 First, let me share a tutorial with you that demonstrates the ChatGPT API: https://network.ubotstudio.com/blog/ubot-studio-unleashes-ai-power-for-irresistible-youtube-titles-and-descriptions/ At the bottom there's a code example. If that doesn't work, could you share your code with me? Make sure you don't include your API key. Let's get you up and running! Quote Link to post Share on other sites
drb 11 Posted May 22, 2023 Author Report Share Posted May 22, 2023 Hi Seth, My code is this: ui console view config openai("mykey-hidden") create chat gpt agent("ChatGPT","You are a helpful assistant.","gpt-3.5-turbo") set(#test,$chat gpt response("Where does the name David originate?","ChatGPT"),"Local") I have turned on show errors and have attached a screenshot of what I get. Â Quote Link to post Share on other sites
Seth Turin 223 Posted May 24, 2023 Report Share Posted May 24, 2023 This isn't an error that we're seeing over here, so we're going to have to guess and check a little. What I'd like you to do is open a command line (type cmd from the start menu) and past the following: Quote "%appdata%\UBot Studio\python\scripts\pip.exe" install urllib3==1.26.6 Close and reopen UBot Studio and try it again. Let me know if this works, so we can use this for other people who have the same issue. 2 Quote Link to post Share on other sites
drb 11 Posted May 24, 2023 Author Report Share Posted May 24, 2023 Hi Seth, Thanks that has solved the error. Now works perfectly 😀 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.