Get better results using the OpenAI Tool Node

  Рет қаралды 1,671

Technithusiast

Technithusiast

Күн бұрын

Пікірлер: 18
@RealLeadership
@RealLeadership 5 ай бұрын
Love this content! I feel like my smarthome is evolving from software 1.0 (reference Tesla AI day) to 2.0. It is probably on 1.2 right now but that is alot thanks to your content!
@technithusiast
@technithusiast 5 ай бұрын
Lolol I’m glad the content is helping with the upgrade ✌🏾
@sdfhjklhsfdjdsflhkds
@sdfhjklhsfdjdsflhkds 7 ай бұрын
Thanks for this. This looks super powerful! I'm going to have to reflect on my current flows and see where this could enhance my automations. Great food for though as always.
@technithusiast
@technithusiast 7 ай бұрын
Thanks. And I hope it helps!
@ITZOTF
@ITZOTF 7 ай бұрын
I’ve been following this from the very beginning and I really can’t explain how much I enjoy this project. I had this exact idea before ChatGPT was released and would hand write every response since I tend to just always say the same things for what I want. But this really has exceeded my expectation. Also loves that it itches the problem solver in me. Would you happen to have any more documentation on the callback service and inline more importantly resizing they keyboard keys and using callbacks to confirm and existing command. No answer please just breadcrumbs. The learning is the best part.
@technithusiast
@technithusiast 7 ай бұрын
Hey 👋🏾 I’m glad you you’re enjoying the series! Sure I’d like to help where I can 😁Can you elaborate a little more about what you mean when you referenced the callbacks, inlines, and resizing keyboard keys? I’m not sure I completely followed.
@ITZOTF
@ITZOTF 7 ай бұрын
@@technithusiast Yes! Ill break it into two comments. Back in Ep. 5 you mentioned the buttons. I am trying to configure the buttons to create a confirmation feature so EV3Y (My "KE") doesn't get to "frisky with my smarthome". I have figured out how to generate buttons using a slightly altered version of the Telegram Facade, but now its linking the telegram_callback service to continue the currently running automation.
@ITZOTF
@ITZOTF 7 ай бұрын
@@technithusiast The second is just cosmetics. I notices that when i set the "Keyboard Key" value in the Telegram Facade that buttons its generates take up the entire size of the keyboard. I cant seem to find any documentation on resizing the buttons to be a little neater. I want to give EV3Y a similar UI to the BotFather.
@technithusiast
@technithusiast 7 ай бұрын
Ahh ok i think i understand. I cant go into depth here but I used this to get a an understanding on how the sendMessage command works: core.telegram.org/bots/api#sendmessage The keyboard parameter can take an array of arrays which can alter how the buttons look. For the callbacks, node red can pick up information from the callback by listening to specific events types. Check the Event Triggering section of this doc: www.home-assistant.io/integrations/telegram_bot/ If you want to get an experience similar to the bot father you will need to save the chat/message id so you run the edit message command to update the buttons. You will mostlikely need to save the information in global context. Hope this helps!
@ITZOTF
@ITZOTF 7 ай бұрын
First of all, thank you for the quick replies-I didn't expect them! I had the same idea when I read the article in Chaperone on Global Context, but the 'Modify Context' node in the Context Subflow always returns a type error when trying to set the key. I have tried looking the function over myself but I was sure there was something that i overlooked. "TypeError: Cannot set properties of undefined (setting 'testKey')" I'd like to also add that following this series has taught me more about JSON and JavaScript than I learned in school. Most of my IT work can be automated using Python, which is how I originally built EV3Y. However, this series has forced me to finally learn Java, and it's been great. I've actually been able to recreate some of my most-used programs using Java instead of Python. It's a little more stressful to debug, but it's so much more rewarding when it works.
@fdelacou
@fdelacou 7 ай бұрын
19:00:00Z is Zulu Time. So... That would make the reminder for noon Central Time!? Not quite the evening... You didn't specify the timezone so not sure if it assumed that you were at GMT+0... which might not be correct.
@technithusiast
@technithusiast 7 ай бұрын
Good eye!! But It’s in ISO format so it’s a bit misleading. The Z stands for “Zero timezone” which means it’s offset by 0 from UTC
@fdelacou
@fdelacou 7 ай бұрын
@@technithusiast btw, love your videos and like all of them. The Z means Zulu and yes could be interpreted as zero time zone. It’s the term used in aviation and by the army. It’s from the phonetic alphabet. ISO8601 that defines dates format adopted the notation as a short hand. But on your example, did chat gpt assumed you were providing the time in GMT+0 or did you specify it? If you specified it then it works if not, chat gpt failed to recognize the offset of your timezone in the calculation of the reminder and you might be reminded between 10am and 1pm! :-D
@technithusiast
@technithusiast 7 ай бұрын
Interesting point. I didn't really specify the timezone but I did tell it to use ISO format. When servers/cloud services deal with time, they always default to ISO which uses UTC (unless told otherwise). The time it return was definitely in ISO format so it was in UTC but you do have a point! I did not specify a timezone and as a result GPT assumed the date/time i gave it in the prompt was in UTC which mean that the time it gave me back was correct if i lived in UTC but in reality if my system tried to convert it to my timezone it would be wrong! Fantastic catch 👍🏾 Very observant!
@Cra1gst
@Cra1gst 7 ай бұрын
Great video i love how you explain the way you go through step by step even bits the don't work
@technithusiast
@technithusiast 7 ай бұрын
Thanks! I’m glad you like the video
The SMART HOME Revolution You Never Saw Coming
15:38
Technithusiast
Рет қаралды 1,8 М.
Make Your Home ASSISTANT Do MORE with Custom Sensors
9:10
Technithusiast
Рет қаралды 2,8 М.
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 16 МЛН
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 8 МЛН
Easily use ChatGPT in your Custom Automations! | Node-Red Tutorial
13:51
Bubble Card for Home Assistant - How to create pop-ups
4:36
I created an AI Butler to clean my floors!
19:34
Technithusiast
Рет қаралды 2,4 М.
Everything You Need To Create Custom & Useful GPTs
12:14
The AI Advantage
Рет қаралды 109 М.
My First Successful AI Agent Ish Project feat OpenAI-o1!
19:46
All About AI
Рет қаралды 10 М.
Using the Node-Red Chart Node
9:30
Steve Cope
Рет қаралды 31 М.
OpenAI Assistants API - Course for Beginners
3:32:55
freeCodeCamp.org
Рет қаралды 383 М.