OpenAI
It's year 2023, the AI bots will take over the "world" so here is a template for it for bOS too...Kodu-Http (OpenAI) (1.2).bos
Right now it works just as a outdated google search with better logic or smth. Somehow the image generator crashes the http driver. Remember everything is in beta.
To get it working you need to make a account for OpenAI and generate your API key.
1. insert it here - for both completions and image generator commands YOUR_KEY.
2. You can ask the AI your question and it should respond. Made a TTS for it's answers too so its extra creepy.
FYI it's not as good as the web page bot - for longer answers sometimes it doesn't give out the full info and I've seen that some of codes may go missing. In theory you can make it give you suggestions automatically too. If it gives you a BadRequest error see if the input is all in one line. It does not like it when some text is on a new line.
Happy new year!
Customer support service by UserEcho
Glad to see someone using OpenAI...
Been using and exploring ChatGPT and it's kind of creepy at a certain point what it can do....generating html code, arduino code, etc, and with more or less fiddling it almost gets there. Even creating random songs with random themes.
Hopefully we can use AI / ML in the near future to predict stuff for our smart homes and projects. That's my goal, to use AI in the future to create stuff like real life presence simulation, predict schedules, and endless possibilities.
Best regards, and happy new year
I got the image generator working. It may take longer time to generate images so I upped the timeout value. Don't know yet how to input those links it generated to a bOS browser. So just copy and paste them to the devices browser. Http (OpenAI) (1.3).bos
Hey,
I updated the template to GPT-4-preview model - old legacy model is still there but request data for gpt4 changed a little.
Http (OpenAI) (1.4) for public.bos
Few changes: Added gpt-4o model, fine-tuning settings and disable/enable button when http driver should disconnect.
Http (OpenAI) (1.5) for public.bos
Added gpt-4o vision - Http (OpenAI) (1.6) for public.bos
Image url should have a link in it...
Input: should be text input, something the bot needs to find or look at...
Hello Jurgen! Nice job! I tried to download the file and I set my own API key but when I run the request the HTTP connection goes offline. And the status code shows 429. I run the integration against a free account at Open AI.
Hey, Check if the free account has a balance - They give 15eur for free and then you have to pay to use the API. 429 code means that there were too many requests, not sure if it shows the same error when the balance is at 0. Also when making text requests try to keep it on one line. It may fail if you send the string on a new line from bOS client.
Right now i'm having also strange problems - I tried to make translations for bOS, and now it just crashes the webpage after about 50 translations... So not sure if they are having general troubles right now or not, yesterday it worked better for me. With gpt-4o translating about 1200 indexes(Eng to Estonian and Russian) costed me about 10 euros.
Edit: Just tested that mine still works in bOS. Also you may need to change the timeout values if you request bigger texts.
HEMS is one of the things that will be very greatto have on Home automation .
When it comes to manage max power demand and heating EV charging etc
If we can feedin Historical data and let IA decide what time It will turn on heating or charge my car thats great
look forward for the changes this will open for CC