22 Replies
xenial-blackOPβ’6mo ago
Above is code snippet and this gives me the result:
xenial-blackOPβ’6mo ago

xenial-blackOPβ’6mo ago
But when i check its still unread π€
constant-blueβ’6mo ago
Hey @Em, are you still getting this issue??
If yes could you share me what prompt you gave??
Also as you are using specific actions you need to use
getActions()
, like:
xenial-blackOPβ’6mo ago
Itβs in the code above. See the remove unread part for the prompt. And yes I have the add label in there itβs able to add but havenβt been able to remove labels
But the gpt says that it did remove it so it must be hallucinating or something
Sorry on phone atm
constant-blueβ’6mo ago
What model are you using??
No issues, whenever you are with you laptop just ping me, if I am there will help you out for sure π
xenial-blackOPβ’6mo ago
3.5 turbo
constant-blueβ’6mo ago
Okay, it is recommended to use
gpt-4-turbo
or gpt-4o
as many times gpt-3.5-turbo
can't even send request to composio.
Try to change your model and let me know πxenial-blackOPβ’6mo ago
But all the other requests seem to work.
constant-blueβ’6mo ago
Yea but when you are working with tools, it is not recommended
xenial-blackOPβ’6mo ago
xenial-blackOPβ’6mo ago

xenial-blackOPβ’6mo ago
but now i get this weird error
correct-apricotβ’6mo ago
Hey @Em - There's no action to remove the label in Gmail tool as of now but we'll priortize this and get a action live for this by Wednesday EOD.
xenial-blackOPβ’6mo ago
oh sweet thanks @Karthikeya
I'm drowning in emails, i really need AI to start clearing them out for me π another question. Is it possible to make the agent output to be a JSON? The OpenAI API has that abillity. But i was wondering if i can do an action and ask the output to to be only a json so that i can then handle formatting myself for messages
I'm drowning in emails, i really need AI to start clearing them out for me π another question. Is it possible to make the agent output to be a JSON? The OpenAI API has that abillity. But i was wondering if i can do an action and ask the output to to be only a json so that i can then handle formatting myself for messages
constant-blueβ’6mo ago
Yes that would be better and also you can create a json parsing function which will get json from the output even if there is some sort of text with json like:
or
Lemme know if you need that function, I have one
π @Em
xenial-blackOPβ’6mo ago
Iβd love to have it π
constant-blueβ’6mo ago
You wished I delivered π«‘
Lemme know if you want any other help in composio π
xenial-blackOPβ’6mo ago
Oh thatβs Python Iβm in JS π
constant-blueβ’6mo ago
Just convert it π
xenial-blackOPβ’5mo ago
True haha
how is it lookin? π
correct-apricotβ’5mo ago
Hey - Checking with the team. Give me few minutes!
We're pushing this action into production in next few hours - will let know you here as soon as it is live.