• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

ChatGpt intergration

Scheduled Pinned Locked Moved Unsolved Requests
57 Posts 5 Posters 21.4k Views 6 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    SILLEN 0
    last edited by Jan 14, 2023, 2:40 PM

    i have MMM-googleassistant and i have used the recipes for some other stuff but could you get that too work with chatgpt. saying somthing like "ok-google chatgpt followed by the question you want too ask and then it takes the question makes it a variable or somthing that the prompt can read and then refresh the answer on the magicmirror. also what do you mean by (none free) MMM-google assistant is free. but i think it wouldnt be a big issue having too pay for chat gpt as in all of my testing and making api calls i have only paid 0.09 usd

    S 2 Replies Last reply Jan 14, 2023, 7:06 PM Reply Quote 0
    • S Away
      sdetweil @SILLEN 0
      last edited by Jan 14, 2023, 7:06 PM

      @SILLEN-0 so to use ga recipe it would send a notification and your module side would get that and send that text to node_helper… rest is the same

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Jan 14, 2023, 11:25 PM Reply Quote 0
      • S Away
        sdetweil @SILLEN 0
        last edited by Jan 14, 2023, 7:07 PM

        @SILLEN-0 meaning of life. I assume service has blocked killer questions

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          SILLEN 0 @sdetweil
          last edited by Jan 14, 2023, 11:25 PM

          @sdetweil any idea on how to do that? Also i fixed it i was just stupid i changed the default question if I had nothing else in the config.js but in there i had the question still set too what’s the weather like and when i changed that everything worked

          S 1 Reply Last reply Jan 15, 2023, 12:17 AM Reply Quote 0
          • S Away
            sdetweil @SILLEN 0
            last edited by Jan 15, 2023, 12:17 AM

            @SILLEN-0 how to do what?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Jan 15, 2023, 9:49 AM Reply Quote 0
            • S Offline
              SILLEN 0 @sdetweil
              last edited by SILLEN 0 Jan 15, 2023, 9:50 AM Jan 15, 2023, 9:49 AM

              @sdetweil how would you make the recipie part and what to have as a command like how would you tell the recipie too send all text after the phrase chatgpt in the notification as question. and recieving that in the chatgpt.js

              S 1 Reply Last reply Jan 15, 2023, 12:51 PM Reply Quote 0
              • S Away
                sdetweil @SILLEN 0
                last edited by sdetweil Jan 18, 2023, 12:15 PM Jan 15, 2023, 12:51 PM

                @SILLEN-0 the way modules communicate is thru notifications

                sendNotification(someStringvalue, someData)

                it’s a broadcast all modules receive it.

                they examine the someStringvalue and see if it’s important to them and if so they process the someData., if not then they ignore it. there are hundreds of notifications firing all the time.

                so you make a recipe that responds to a voice phrase chatGpt, and the rest is the question
                and u have ga send the notification that your module is looking for.

                you should be able to see the recipe pattern by looking at others that do the same thing.

                once your module recognizes the notification string, then it knows the data is the text of the question.

                you module already has a receiveNotification function, so adding another compare for the notification string is the big work…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Jan 18, 2023, 8:26 PM Reply Quote 0
                • S Offline
                  SILLEN 0 @sdetweil
                  last edited by SILLEN 0 Jan 18, 2023, 8:28 PM Jan 18, 2023, 8:26 PM

                  @sdetweil yea i guess but how in the world would you make it send just the phrase after chatgpt is said. in other words i have no idea how the recipie file should be coded

                  S 1 Reply Last reply Jan 18, 2023, 8:42 PM Reply Quote 0
                  • S Away
                    sdetweil @SILLEN 0
                    last edited by Jan 18, 2023, 8:42 PM

                    @SILLEN-0 you said you understood recipe

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply Jan 18, 2023, 8:45 PM Reply Quote 0
                    • S Offline
                      SILLEN 0 @sdetweil
                      last edited by Jan 18, 2023, 8:45 PM

                      @sdetweil maybe i formulated it bad. i know how the recipie structure should look like and i can make simple recipies but having the notification only send everything after “chatgpt” that i have no idea how too do. as i said i am a beginner in coding and trying my best

                      S 1 Reply Last reply Jan 18, 2023, 9:26 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 3 / 6
                      3 / 6
                      • First post
                        28/57
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy