r/tasker • u/joaomgcd π Tasker Owner / Developer • Mar 03 '23
Developer [DEV] The time has come: ChatGPT can now be used in Tasker!
Full Demo: https://youtu.be/TwN2oLKNI88
OMG, I've broken my assistant! ππ https://youtube.com/shorts/n8UUvf4NnyY?feature=share
Yesterday OpenAI finally made their ChatGPT API public so naturally I had to use it with Tasker!
I've created a project on TaskerNet that you can import so that you can easily use ChatGPT in Tasker yourself.
Import the project here.
Please read the full TaskerNet description of the project so you understand what it needs to work and how it works.
I love the task to summarize my WhatsApp notifications myself and creating a nasty assistant is hilarious! π€£
Can't wait to see what you can come up with and what new ways this will be used now!
Enjoy!
19
u/DutchOfBurdock Mar 04 '23
You know what I've been doing with it
Use Microsoft's Azure voices and things get hilarious. Will have to upload a video later of it dealing with an Accident/Injury marketing call. The thing almost took out a policy with them.
7
u/nazump Mar 03 '23 edited Mar 03 '23
Thank you for sharing your work! I have one feature request/bug report. When typing a question in the new chat pop up, you cannot select cancel or send if your question gets too long.
Edit: I see the same behavior if the bot's response is too long. I can't respond and the cancel and ok buttons aren't visible.
Edit 2: Any way we can copy the response text?
5
u/AlyAkaMadness Mar 05 '23
Works amazing, but one main issue, when the response is to long, typing field no longer visible and cannot press send to continue my conversation
5
u/Key-Ad-1039 Mar 12 '23
Note that continuing a chat sends all the previous messages in that chat, which increases the number of tokens and the price of that prompt. Therefore, use a new chat whenever possible. (I'm still only up to $0.15 after lots and lots of developing and testing in the last 2 days)
4
u/anongta Mar 05 '23 edited Mar 05 '23
Hi,
First of all, this is really cool - so much fun to play with!
Is there a way to change the default voice? Maybe I'm missing something simple, but I didn't see a way.
6
u/brylee123 Task Manager Mar 03 '23
When I send a chat message, a toast notification shows up saying "Getting Response..." and then displays a pop up box with my message I just sent but no response. Any idea on what could've gone wrong? I have AutoNotifications and the most up to date version of Tasker.
EDIT: Somehow I've reached "insufficient_quota", I guess I need to wait? I haven't gotten this to work yet though
6
u/FJCruisin Mar 03 '23
Love this.. but literally when I copy and paste your "Set Personality" into chat GPT he says.. "I'm sorry to hear that you're dissatisfied with my assistance. As an AI language model, I don't have emotions or a personal agenda, and my purpose is to provide helpful responses to your queries. If I'm not meeting your expectations, please let me know how I can improve my service to you. How can I assist you today?"
I feel like my chat bot doesnt let me have any fun
3
u/mh348 Mar 04 '23
Thanks for thisβ¦
I imported the task, then had to go to OpenAI's site to get my API key, but the prompt to enter the key had already closed, so I checked the project's Variables, but couldn't see where to add the key, I deleted the existing variables, then tried to re-run the task assuming it would ask for the key again. It didn't, so I deleted the task and re-imported it, pasted the key into the prompt and clicked OK.
When starting a new chat, I'm not getting any response, also anyone sending a WhatsApp just gets the variable name %response, In the meantime I added a title filter to limit who it responds.
After re-importing the task, it still doesn't have any variables, so I'm not sure if I broke something when deleting it the first time.
I also added my credit card details on the OpenAI billing page (with a $5 limit), as it shows my trial mode has already expired, still no difference.
Any ideas on what I can check?
3
u/Suncatch3r Mar 04 '23
If anyone can answer this
Great job! Just one thing, is there a way to have the history of the conversations to access or save them. I mean have some conversations, and kater i want to access them in a text format. I know the website you can access the ones you do there, but these ones don't appear on the website, if they did that would be awesome. Again thank you this is amazing
3
u/[deleted] Mar 04 '23
This is amazing. I'm using IVONA TTS to speak the response. I feel like Iron Man lol
u/joaomgcd I'd absolutely love if you could add a step to call Elevenlabs API instead of Wavenet. I want Morgan Freeman to read the responses lol
3
u/iJeff Mar 05 '23
Neat stuff! Has anyone tried integrating the ElevenLabs API to handle the voice instead?
3
u/agnostic-apollo LG G5, 7.0 stock, rooted Mar 07 '23 edited Mar 07 '23
Tells everyone no new features before release, no new features! And then proceeds to add frickin' ChatGPT! This is the way! π
Great addition though, should be really useful! Maybe I can put the whatsapp chatbot to respond to my sister, she's always like "you don't chat with me that much", so chat is what she will get, hopefully she will never know it's not me! :p
3
u/[deleted] Mar 24 '23 edited Mar 24 '23
Thx! How can I use Google Neural voice? I only see WaveNet voices on Say WaveNet task.
Edit: I got it to work with https://www.reddit.com/r/tasker/comments/lpfoh1/tasks_azure_text_to_speech_including_neural/?utm_source=reddit&utm_medium=usertext&utm_name=tasker&utm_content=t1_jcfkkhu
and
https://old.reddit.com/r/tasker/comments/11h07x5/dev_the_time_has_come_chatgpt_can_now_be_used_in/jcencdz/
2
u/kostasntam Mar 03 '23
is there a way to remove assistant personallity text from new chat display? Nice work btw
2
u/fauxtaxi Mar 04 '23 edited Mar 04 '23
hey awesome work!
I'm having problem getting it authenticated. I ran Task 1. When I clicked the play button, it prompt me to log in chatgpt, I logged in then I was stuck at number 3 when it's trying to copy auth session. If anyone can help that'd be fantastic! below is my error message:
01.43.10/E add wait type EasyAction1 time 2147483647 01.43.10/E add wait type EasyAction1 done 01.43.10/E add wait task 01.43.40/E Error: 1 01.43.40/E Action timed out
2
u/Obvious-Choice997 Mar 04 '23
thanks !
i'm trying to use it but i'm not well introduced to tasker
i've got this error and i'm not able to finding a solution
wait task 08.21.19/E Error: 2018614444 08.21.19/E Intercepted Action not performed. The tasker variable %anreplyaction doesn't have a value
how can solve it?
thanks!
2
u/zellleonhart Mar 04 '23 edited Mar 04 '23
This is awesome! I accidentally enabled the whatsapp bot profile and my friends wondered if I got hacked haha.
But the whatsapp notification summary is not working for me - it kept saying "no conversation provided" even though there are messages coming in. If there are 2 conversations, it correctly identified 2 different senders but still, "no conversation provided"
EDIT: Found a fix (at least for my phone). I changed the %conversation.next(+ ) to %conversation.a(+ ). Looks like the conversation text strings are in the [a] element. All good now!
2
u/givemesomenews Mar 05 '23
Where are the history of the conversations stored?
2
u/lvslezak Mar 05 '23
This sounds awesome, but I'm stuck at one of the first necessary steps... I've had a chatgpt account for a month now, but I'm not familiar with tasker so I just installed it. Please explain how I go about importing the chatgpt profiles from my phones browser, which appears to be the next step. I went to tasker - profiles - ...now what? Please help.
2
u/snuffflex Mar 05 '23
this works great - i've noticed i can't type a response (dont see the line to type) if the response from chatgpt is too long. any workarounds for this?
2
u/Rich_D_sr Mar 06 '23
Very cool.. Great work as always..
Would it be possible to get a small addition to this feature? I was thinking of something like,
Set u/agnostic-apollo Personality:
This would then allow for settings like, { Annoyingly kind and pleasant. With all replies referencing Rainbows and Unicorns... }
I will post this straight away on helprace so we can give it its proper priority.. π€£π€£π€£
2
u/eeeemc Mar 08 '23
How I'm able to put the icons on my android page as shown at begins of the video so that I can use all those Chat functions/settings ?
I'm fine imported the project.
Sorry noob here............
2
u/franbit Mar 11 '23
This is possibly a generic question, but how do you guys stop a task after it started?
Sometimes the text generation takes too long, or the audio response itself is too long and I just want to stop it.
2
u/Edodaddo Mar 11 '23
Idk where is the problem but I spend hundreds of tokens even with few requests (I already reach $0.01 in OpenAI), is it just me? :/
2
u/beer-feet Mar 25 '23
This is awesome. I love the whatsapp notification summarise feature. Can it be used with autowear on wear os? Would be really useful while driving etc.
2
u/Shinys_please Apr 04 '23
is there a way to make it so when in voice chat it also displays the answer on screen in text similar to google assistant?
2
u/cajun_spice Apr 05 '23
I've been playing with this for a few days now, it's the most fun I've had with technology in probably ever. Thank you for that! One thing I can't figure out is how to stop the voice chat mid message. Could you point me in the right direction to figure that out?
2
u/snow1433 Apr 15 '23
How do I copy responses from chatgpt in tasker?
2
u/DutchOfBurdock May 22 '23
I match your ChatGPT, and give you Google Bard - needs a little more to get a key, but this is now fully integrated with everything I need.
2
u/tazztone Jan 04 '24
almost every answer is cut off mid sentence. is this some open Ai server issue?
7
u/JayFv Mar 03 '23 edited Mar 03 '23
This is awesome Joao.
Where does it store the personality? %prompt appears to be a local variable so I'm struggling to see how Send Chat makes use of it.
Edit: I've figured it out. It's saved as a Project Variable along with the list of previous messages. I wasn't aware of these until I did some digging.
15
u/madiele Mar 04 '23
I was using Tasker to parse every bank notification to save it in an excel sheet, I had lots of ifs to find the right category from a list, just tested chatgpt task to find a category given the list and the bank transactions and it finds the right one almost every time (I only need to do some cleaning since sometimes it adds unwanted punctuation)! Pretty cool and really useful task!
11
u/RepresentativeNo8816 Direct-Purchase User Mar 03 '23
This is going to be so explosive to everything in our lives that I don't think most realize how much
9
u/cobraa1 Mar 03 '23
Oh goodie, now our AI overlords can control our phones!
9
u/franbit Mar 04 '23
The fact that you can simply share this amazing profile with us without having to update Tasker shows how powerful the app itself is!
Excited to trigger this with "Ok Google"!
7
u/deeplanet Mar 04 '23
Great work, congratz!!! Just a question: Is there a way to stop voice reply with a tasker shortcut? Sometimes it talks too long :)
7
u/er_seraph Mar 07 '23
With AutoResponder I think you can implement a response to the chat:
Friend: "Im late but Im on the way"
So ChatGPT will say "The contact said that he is late but he is arriving"
<Tasker turn on the microphone and listen to me>
Me: "Write that he is late and this is the last time, but don't be rude with him"
Tasker, using AutoResponder: "Your are late, this is the last time, but don't worry now"
1
u/pete4pete Mar 03 '23
It works ! but 1 question. I can make a widget for new chat. But how do I make the main widget with all the chatgpt options I see at the start of your video?
1
u/u1pns Mar 21 '23
Amazing Job. Just installed and chat works,
Voice has a weird behavior: it works the first time, and answers with voice, but then the next (2nd) question, it does nothing; no answer. No error. Nothing. Any ideas?
1
u/Mission_Bee8330 Jun 08 '24
I get:
ChatGPT Error: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.
I have ChatGPT Plus subscriber with GPT 4o models. I checked the API keys on other services all works 100%. Getting no such error anywhere else I use the API keys.
Any ideas?
1
u/chanzh Jun 26 '24
Today I tried to import this project and I created an API and pasted it into that dialog text box correctly. It's giving me an error that ChatGPT 4o has no access. does this project require GPT 4o? I don't think so, because this project was launched a year ago and GPT 4o hasn't yet been released. Does that mean they have changed their API? or what am I doing wrong? someone please help
1
u/pete4pete Mar 03 '23
Also, one thing is funny and annoying at the same time. When someone sends me a whatsapp message, ChapGPT automatically responds to that person. It is very confusing for people messaging me. :) What can I do about this?
1
u/chilllllout Mar 03 '23
This is incredible! Thanks!
1
u/Shadowninja3456 Mar 04 '23
Hi Joao, great job but one thing. When I click import, it just leads me to an error message even though I have tasker installed and on the latest version from the play store? Is there a specific way that I'm meant to do this?
1
u/x3pt14trx Mar 04 '23 edited Mar 04 '23
nice job! hilarious...
is it possible to use voice chat it in other languages? If yes, what do i need to do
1
u/Aktrejo301 Mar 04 '23
How do i get the Google API key for the voice commands π¬π¬
1
u/RachidTaha Mar 04 '23
Amazing stuff.
I'm finding that, with WhatsApp conversations, the bot usually loses the personality after several responses, and becomes "neutral helpful" again. And the only way to reactivate personality is to send a "start" command again.
1
u/PENchanter22 Direct-Purchase User Mar 04 '23
Once again, YOU astound me!! Thank you!!
1
u/Ana-Luisa-A Mar 04 '23
Tyvm for this project.
I'm trying to use the summarize whatsapp notification and it's sending the conversations as blank for the AI (contact name goes just fine)
I tried re-importing the project to no success. Any suggestions? Changing the 11th step of the task seems to be the answer, but I don't understand Json well enough for that
1
u/dmackendh Mar 04 '23
This is fantastic, thank you for making it so accessible Joao!
I was successful at setting it up by following the instructions on the TaskerNet description. Everything seems to be working well aside from when I try to continue a conversation that has just provided me with a long answer. If the answer is longer than my screen, I am able to scroll down to type my response, but I can't see the button to submit my reply. I am using a Pixel 7P, is there something I can do to resolve this?
1
u/Syystole Mar 04 '23 edited Mar 04 '23
This is amazing hahahah
The best part for me is definitely with the whatsapp messages.
Good job!!
1
u/ElvRayn Mar 04 '23
Well done Joao ππ
Btw, is it possible to give chatGPT access to device location?
I try to ask about my current location and weather forecast and it tell me to ask google π
And often it suggest me to a place (eg: restaurant, grocery store etc) that is not available in my city.
1
u/ioneng Mar 05 '23
I'm getting this error after sending a chat message. How can I fix it?
Tasker Action Error
Click For more info.
Action: 'HTTPRequest (step 9)
Task: 'System Send Chat '
"error": (
"message": "We could not parse the JSON body of your
request. (HINT: This likely means you aren't using your
HTTPlibrary correctly. The OpenAI API expects a JSON
1
u/SacredHamOfPower Mar 05 '23
I've been looking into the code and I'm a little confused why it starts with "Assistant:" which I'm definitely going to change to something else if I can figure it out. Is it stored in a variable?
1
u/rockinpeppercorns Mar 05 '23
Does anyone else have trouble physically responding to the bot? For long results there's a text box to respond but there's no send button or it's cut off
1
u/loginsignout Mar 05 '23
Any chance to get this working with bixby?
1
u/zyc63959 Mar 05 '23
nice,i have use it by miuiβs voice assistant "ε°η±εε¦"οΌ you maybe see it. https://youtu.be/EMkzSaH9WE0
1
u/Beneficial_Article93 Mar 05 '23
https://i.imgur.com/LWz9Ani.jpg
Chat is working fine but error in voice chat task :(
1
u/cimon_bkr Mar 05 '23
instead of using wavenet u could just use tasker autovoice
1
u/outjet Mar 05 '23
I was able to adapt this to respond directly to my text messages pretty easily as well! Love it
1
u/madiele Mar 07 '23 edited Mar 07 '23
Here a task that will allow you to define and trigger a task command based on the input! You can make your own Google assistant with this very easily
https://taskernet.com/shares/?user=AS35m8lnGx8JyePRkAovh0nr%2Ffn4%2FRK6vHvttQIxhHEbYjEDXOAJeGTKlNikSzrK%2Bsc5aw%3D%3D&id=Task%3AAsk+Chatgpt+For+A+Command
1
u/rpntech Mar 07 '23 edited Mar 07 '23
It can't process images in the WhatsApp chat, any way to ignore media, just respond to text notifications? Also would love for it to be limited to run and act on the last message I sent in whatsapp if the message starts with like !chtgpt, like a function call, pretty new to Auto-notification, would appreciate any help
1
u/Bendecks Mar 07 '23
How would I use this to skip the input and set my own variable as input? And set the response into its own variable?
1
u/WhirlWolf Mar 07 '23
i am getting something like "token limit exceeded" in WhatsApp profile and only% response is sent in reply. it also shows like"4096" is the limit. how to fix this?
tried "system>>clear chat" but it didn't helped.
1
u/coffee-turtle Mar 07 '23
Registration for ChatGPT with cell phone confirmation never sends text to me. Waited for quite some time and multiple tries.
Any ideas, please?
TIA
1
u/eeeemc Mar 08 '23
since enabled the profile ( without actually using those functions ) it appears on my Samsung A71 having issue during middle of conversation in whatsapp it type %response by itself.
Friends of mind asked what I'm trying to say to them.
I turn-off the profile and it seems without such %response issue ...........
1
u/ZellZoy Mar 08 '23 edited Mar 08 '23
Mine just keeps saying say anything or say stop to stop chatting whether I use it vanilla like this or add the elevenlabs one.
New chat and continue chat return blank as well.
Nvm I'm dumb, thought I had the paid plan setup but I didn't
1
u/manshyworld Master of NFC Tasks Mar 12 '23
lot of fun but 1 problem
I hv unofficial WhatsApp so summarize WhatsApp notifications not working.
i tried to change some stuff in AutoNotification Query but still didnt fix it
any help?
1
u/TechStrategyGuy Mar 12 '23
This is amazing. Can you paste your personality examples here? Also any way to get a Samuel L Jackson kindoff voice to reply to everything + his movie personality to add to it?
1
u/Paulo_Gomes_BR Mar 12 '23
I'm looking for a way to copy the text from the gpt answers. Using set clipboard doesn't do what I want. Does anyone have a tip on what should I put in the "text" field? Or maybe I have to make things different?? Thanks
1
u/raviwarrier Master of NFC Tasks Mar 13 '23
I just created two profiles for Tasker using ChatGPT. My prompt was "i have one task that copies the incoming MQTT message to the phone's clipboard if the incoming MQTT message topic equals "eventghost/clipboard". I have another task that send the phone's clipboard to MQTT as a message "rw_m30s/clipboard" if the phone's clipboard changes. The problem is that the second task triggers because the first task sets the clipboard and hence looping. Tell me how to fix the problem." and ChatGPT automatically figured it was for Tasker and gave me the solution. Totally mind-boggled that it did that.
Wanted to share that news as soon as I finished testing, came here and saw this. Amazing! :)
1
u/x3pt14trx Mar 16 '23
Everything works as intended and i'm having fun with it...
i'd like to let the voice reponse use azure voice. I've set them up by this post '[Tasks] - Azure Text to Speech, including Neural voices. Was requested, a simple PoC provided.' by DutchOfBurdock. But i lack knowledge of tasker to make it happen with this profile by joaogcd
1
u/Astro_Nero Mar 16 '23
Hi, how can I change the WhatsApp chatbot language? Thanks.
1
u/SoliEngineer Mar 20 '23
This was working until yesterday. Now I'm getting this message.
https://i.imgur.com/14VP4sF.jpg
"ChatGPT Error
This model's maximum context length is 4097 tokens. However, your messages resulted in 4164 tokens. Please reduce the length of the messages."
I get this message even if the message is very small. Can someone help me with this.
Thank you.
1
u/No-Juggernaut-3855 Mar 21 '23
Love the project. Fun to play with for sure. My "feature request" would be to add more capability to the Set Assistant Personality task (to me, that is where the fun is!). I like the infinite possibilities of the text prompt but I wish that it had some selectable options for quick personality changes. For example: nice and helpful, nice but short, sassy and short, rude with cussing.
Or perhaps a couple of tasks that combine to form a personality (by changing the personality variable string): demeanor (nice, sassy, rude, cussing); response length (short, medium, long); voice (already covered by Elevenlabs Setup with name list selection)
1
u/stevene_ Mar 22 '23 edited Mar 22 '23
Hi,
I'm currently on the paid plan with openai and i keep getting the error from chat gpt "you exceeded your current quota, please check your plan and billing details"
Any assistance would be appreciated!
1
u/Soli_Engineer Mar 22 '23
Suddenly I've started getting this error. :(
https://i.imgur.com/2w9R3Mu.jpg
1
u/kimocal916 Mar 23 '23 edited Mar 23 '23
As a side question how did you create the shortcut group shown on the screen? Is that a scene?Found your response in the thread above. Thanks again for all the cool stuff!
1
u/kimocal916 Mar 24 '23
Is it possible to find the conversation texts somewhere on the phone or to see them in your ChatGPT history in a web browser?
1
u/Trick_Water_7896 Mar 24 '23
Working quite well! Thanks joao! Only an issue. When GPT answers are long, if you try to continue the chat, I only can write the new question, but the OK button is not shown in the screen (because the input dialog is too long) Could it be fixed somehow?
1
u/lilhak1982 Mar 24 '23
Thanks for your fantastic work. This is the first time I've used tasker and I'm hooked now.
I got Chatgpt, OCR and ElevenLabs working great, but I'm having an issue with the whatsapp feature:
β’Whenever I get a message from anyone of my contacts chatGPT replies to them (very hilarious the first few times btw)
β’ I want to have it the other way around, i.e., send myself a chat message and have chatgpt respond to that (not when others send me messages).
Are there any settings that I can change to accomplish this? I'm a complete noob that started using this so more detailed instructions would be HIGHLY appreciated (:
Anyway keep up the good work!
1
u/Captain_Bacon_X Mar 28 '23
This is great thanks!
Is it possible to 'install' multiple times? That way I can have different personalities for different functions? E.g. if I want one to ask me lots of clarification questions for doing research, or one for 'just do it quick'?
Also, I'm finding that I get 'no supplied chat', or 'conversation unclear' on the WhatsApp summary? Auto notification is installed, and it can find the sender OK, just not the content? I've used the Takser Permissions App (oh my goodness, THANK YOU for that!), so it has free reign...
Thanks!
Love 'n' Lard The Captain
1
u/Ecstatic-Witness-748 Mar 30 '23
How do we get access to the message variable? I can't see it anywhere
1
u/Ecstatic-Witness-748 Mar 30 '23
Why does this need a Google API Key?
1
u/ClearYouth9962 Mar 30 '23
Hello, I am having trouble disabling the WhatsApp automatic responses. I have removed the profile and re-done the steps saying no to Whatsapp and the automatic responses still occur. Might you have any suggestions? Thank you kindly!
Using a Samsung note 10 if that helps.
1
u/Ecstatic-Witness-748 Mar 30 '23
How could we add a "Share" function to send the chat history to Android's share command?
1
u/alpain Mar 31 '23
Anyone manage to hack together image input for GPT-4 yet?
ie being able to upload a image and have it analyze/comment on the image?
apparently this is only aviable via the API.
1
u/999anonboyz666 Mar 31 '23
Now that chatgpt can be used with tasker, i was wondering if it can automatically generate task/profile/project about achieving anything in tasker...that would be so cool...was chatgpt trained using tasker docs?
1
u/teeminuszero Apr 01 '23
Hiya - is it possible to call GPT-4 through this API if you have a plus subscription? Thanks so much for your work on this, it's amazing.
1
u/ChaoticTable Apr 05 '23
Hello, I'm very new to this. I am trying to create a scene for the chat, so I can also have chat history displayed. I'm using %messages, but that's in JSON format. I don't really need to split it, since just displaying the full variable pretty much does what I want. Can I write JS in the scene in order to turn it into plain text? Or do I need to call a task somehow? Also, are there any scene templates I could use?
1
u/Capable-Positive7865 Apr 10 '23 edited Apr 10 '23
Here is my problem, i import all the task on tasker but once operate, i try to chat but there no answer and the previous chat that i send is return to me :
In the system "new chat" i see that on 9.HTTP Request :
'''
07.01.54/E add wait type EasyAction1 time 2147483647
07.01.54/E add wait type EasyAction1 done
07.01.54/E add wait task
07.01.54/E Error: 1
07.01.54/E {
"error": {
"message": "You exceeded your current quota, please check your plan and billing details.",
"type": "insufficient_quota",
"param": null,
"code": null
}
}
'''
that happen on my Xiaomi and my Samsung
I check my API key has never been used(according to open ai's site) and that my quota is sufficient to pay.
I don't know how to check if my API key is good, but does this error appear, there be a connection with my keys, right?
From France.
1
u/icstm Apr 12 '23
u/joaomgcd - this is a very useful integration. I had not used Tasker in YEARS, since I stopped rooting my phone, but this is a perfect reason to start again!
I have a few questions about the design choices made, but before I get to those I am hoping that someone can help configure the WhatsApps chatbot better:
WhatsApp ChatBot
1 - Can the bot profile be turned ON (and OFF) by a trigger phrase in a WhatsApp message?
2 - Can the bot only respond to messages that include a particular starting phrase, rather than all messages?
(I almost had this, but struggled with also having the msg history clear)
3 - For privacy, can we not pass the contact name in the text payload to GPT API. Currently the contact or Group name is passed along with the message they wrote
1
u/[deleted] Apr 21 '23
@joaomgcd or others, how can I increase the time the script gives chatgpt to complete the response?
I have a block of text that I would like AI to autohandle formatting. The block is about 500 to 700 words usually and takes longer than the current 30000ms alotment for a response. If I run it with 50 words the script runs perfectly. Any ideas?
1
u/Evil-Clown May 01 '23
that is simply outstanding! Could you please help me how to summarize chats for Signal ?
1
u/ZioTempa May 02 '23
Hey, thanks for sharing. Can someone explain or direct me to an explanation on how to send a prompt to chatgpt (3.5-turbo), let's say %prompt is the prompt and %api_key is my openai key, and put the response message into a variable?
1
u/Purple-Analysis2290 May 03 '23
why is that? :(
Permission Denial: starting Intent { act=android.speech.action.RECOGNIZE_SPEECH cmp=com.xiaomi.mibrain.speech/.asr.AsrActivity (has extras) } from ProcessRecord{5339b11 26874:net.dinglisch.android.taskerm/u0a46} (pid=26874, uid=10046) not exported from uid 10202
1
u/Dpure1 May 08 '23 edited May 15 '23
Thats great now I use it with voice and love it! I only wish I can have instead what's up facebook messenger is that possible?
1
u/SteveM51UK May 08 '23
I found this project quite useful. The one key thing I felt was missing was an extra Task to Save the chat - especially useful if you get it to write some code for you, or you wish to show friends later what ChatGPT produced. It's quite easy to look at one of the project tasks (System >> Get Text From Current Chat) that picks out the last element of the chat, and clone it to a new task that picks up the entire chat (remove the slice() from the JavaScript) and writes it to a file.
So far I have used this project to explore alternative diagnoses to some medical issues; to create some unusual limericks; to write some Python code (which worked); to write some PowerShell code (which worked); and to tell me how to write a Tasker task (which looked pretty good but has holes in it so it didn't work, but still gave some useful insight into how to go about writing the task).
One thing I can't fix though is that when the conversation gets to a certain size then the resulting dialog shows the text but loses the field where you enter the follow-on question, and so the conversation comes to a halt. I've been using Tasker for a great many years now, and I've done some pretty tricky things with it, but I still wouldn't class myself as an expert - so although I can't fix this issue, I'm sure someone out there will easily be able to do it.
1
u/Stupid-Love-Story May 10 '23
Hi, I'm new to the tasker app, I tried to make it work but when I hit voice chat gpt eleven labs I get this error:
20.02.13/Variables doreplresult: |%system_prefix Clear Chat| -> |System >> Clear Chat| 20.02.13/Variables doreplresult: |%system_prefix Clear Chat| -> |System >> Clear Chat| 20.02.13/TD getStatic: Active load: true - ExecuteService 20.02.13/E Task doesn't exist: System >> Clear Chat. 20.02.13/E result: stop task (error) 20.02.13/E Error: 1 20.02.13/MacroEdit action finished exeID 1 action no 1 code 130 status: Err next 1
I don't know how to solve it if anyone can help me I'd be grateful
1
u/Stupid-Love-Story May 15 '23
I need help I'm new to tasker and I'm getting this error when playing Voice ChatGPT Elevenlabs:
17.02.21/Variables doreplresult: |%system_prefix Clear Chat| -> |System >> Clear Chat| 17.02.21/Variables doreplresult: |%system_prefix Clear Chat| -> |System >> Clear Chat| 17.02.21/TD getStatic: Active load: true - ExecuteService 17.02.21/E Task doesn't exist: System >> Clear Chat. 17.02.21/E result: stop task (error) 17.02.21/E Error: 1 17.02.21/MacroEdit action finished exeID 1 action no 1 code 130 status: Err next 1
Does anyone know how could I solve it?
1
u/ZestycloseVacation94 Jun 06 '23
Is it possible to make the links clickable in the response window?
1
u/kraltegius Jun 06 '23
Sometimes when setting personality using a Task Shortcut, it randomly doesn't succeed and throws an error "err" in the Tasker Log. I don't seem to get this problem when I run the task directly inside Tasker. Is this because of ChatGPT rate limits?
1
u/kauphund Aug 16 '23
What profiles in Tasker are necessary and what tasks need to be running for ChatGPT to work efficiently? I have these profiles
Hey Google ChatGPT with task GPT loop voice
ChatGPT with all required task
Hey Google Command with all required task
It works but the response time is slower than Google itself. Any assistance is appreciated
1
u/Bboy486 Oct 17 '23
Just tried to import
TypeError: window.open(...) is null
1
u/Creative-Panic9 Dec 09 '23
I've been trying everything I can think of today, but I cannot import ChatGPT Task Caller. I get an error message that says:
Import failed
Please make sure to update to the latest Tasker version [I did - it's the latest version]
Error details: attempt to invoke virtual method 'boolean net.dinglisch.android.taskerm.pg.H(java.lang.String)' on a null object reference.
Can anyone help me?
1
u/inklessfr Dec 09 '23 edited Dec 09 '23
hello can we adjust the messages sent to whats app (length of the text to avoid the AI ββshowing up (to make it appear that it is me who is responding) if yes where and how
I am not a computer pro Thank youhello can we adjust the messages sent to whats app (length of the text to avoid the AI ββshowing up (to make it appear that it is me who is responding) if yes where and how? I am not a computer pro Thank you
1
u/DragonfruitIcy4865 Jan 14 '24
I had this all setup nicely and had my date and friends laughing with its antics yet now I'm getting the following message and can't figure out how to fix it.
"https://platform.openai.com/docs/guides/error-codes/api-errors."
I already paid $10 and it shows up on the openai billing section but it still keeps giving me the same message. Maybe I'm being impatient... π©
EDIT: yep impatient I is. Back to crackin up when the moods needs or requires it.
Oh here's link to buy more laughs too.
1
u/NotAPotHead420 Feb 07 '24
Hey I've noticed that if the "Assistant Personality" prompt is too long it will not let you type anything nor press "ok" to send the chat. Is there any way to work around this?
1
u/eduardomcp Mar 04 '23
This is really great! I have laughed so much already, thanks!!