stormy-gold
stormy-gold7mo ago

[Solved ✅] can not replicate phidata-composio

I am trying to replicate the phidata-composio example from the docs https://docs.composio.dev/framework/phidata - Installed composio-phidata, composio_openai, and composio_core - Authenticated Composio with GitHub successfully - Running into this error: MetadataFileNotFound: Metadata file for GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER not found. Please run composio apps update to fix this. - Ran composio apps update, but the error is still there Any idea how to fix this?
Composio Docs
Using Composio With phidata - Composio
Composio enables your agents to connect with Various Tools and work with them
53 Replies
other-emerald
other-emerald7mo ago
Hey @AINerd, I am checking on it Before could you tell me, what is the version of your composio-core? @AINerd
harsh-harlequin
harsh-harlequin7mo ago
Also, if you are running in a python noteboook/Google collab, you need to restart the notebook after running composio apps update for the metadata to actually load.
stormy-gold
stormy-goldOP7mo ago
Thanks, did pip install composio-core, which version should I use? I am using VS code
Soham
Soham7mo ago
pip install composio-core -U should install latest version it should be 0.4.2
stormy-gold
stormy-goldOP7mo ago
yes, I did it but the same issue here is how my requirements.txt look like, can you please add the versioning composio-phidata composio_openai composio_core==0.4.2
stormy-gold
stormy-goldOP7mo ago
No description
No description
stormy-gold
stormy-goldOP7mo ago
@kaavee @Soham
other-emerald
other-emerald7mo ago
Have you installed composio-phidata?? Check once in your pip list
stormy-gold
stormy-goldOP7mo ago
No description
other-emerald
other-emerald7mo ago
Can you come at #debug-help for a quick debug??
stormy-gold
stormy-goldOP7mo ago
sure
other-emerald
other-emerald7mo ago
Composio Docs
🧑‍🤝‍🧑 Accounts/Entity - Composio
Composio enables your agents to connect with Various Tools and work with them
other-emerald
other-emerald7mo ago
Hey @AINerd, could you say me what is your version of phidata??
stormy-gold
stormy-goldOP7mo ago
phidata[aws]==2.4.21
other-emerald
other-emerald7mo ago
Could you update it to 2.4.29 and check once if its working?? In our case, its working fine in 2.4.29
stormy-gold
stormy-goldOP7mo ago
yes I just added it, but still getting the same error
stormy-gold
stormy-goldOP7mo ago
No description
stormy-gold
stormy-goldOP7mo ago
I think I fixed it by removing bracket$ from here what other tools are available besides github do you have some example of how it works with phidata
other-emerald
other-emerald7mo ago
It works perfectly?!
stormy-gold
stormy-goldOP7mo ago
yes thans a lot
stormy-gold
stormy-goldOP7mo ago
No description
stormy-gold
stormy-goldOP7mo ago
it does not accepnt list of tools so removed bracket but it should get fixed
other-emerald
other-emerald7mo ago
We have more than 90+ tools 🔥 You can get to know more about it here with code: https://composio.dev/tools You can even execute action and test it on our dashboard: https://app.composio.dev/apps?category=all
Usecases Catalogue | Composio
Discover Usecases Catalogue | Composio
stormy-gold
stormy-goldOP7mo ago
thanks, so telegram or whatsapp are not there yet?
other-emerald
other-emerald7mo ago
Cool, let me know if you need more help 😄
stormy-gold
stormy-goldOP7mo ago
thank you 🙂 when are you planning to add phidata examples?
stormy-gold
stormy-goldOP7mo ago
No description
other-emerald
other-emerald7mo ago
Whatsapp tool is there: https://app.composio.dev/app/whatsapp Rest you can ask for telegram one with stating your need for.... We will be adding it very soon
Soham
Soham7mo ago
stormy-gold
stormy-goldOP7mo ago
I am trying to connect to google calendar
Soham
Soham7mo ago
Check this
stormy-gold
stormy-goldOP7mo ago
where can I see what to add into my docker for authentication
other-emerald
other-emerald7mo ago
You can just run:
composio add googlecalendar
composio add googlecalendar
composio apps update
composio apps update
In your terminal, and connect your google account with it. Examples on google calendar: https://docs.composio.dev/examples/python/calendar-agent
stormy-gold
stormy-goldOP7mo ago
many thanks
other-emerald
other-emerald7mo ago
Its my pleasure to help you 🙂
stormy-gold
stormy-goldOP7mo ago
can I give you a nice feedback? very satisfied with your support
other-emerald
other-emerald7mo ago
Thanks for that 😄
Soham
Soham7mo ago
Can you please put that on twitter if you are ok. It would be of great help to us. 🙂
stormy-gold
stormy-goldOP7mo ago
sure
stormy-gold
stormy-goldOP7mo ago
No description
stormy-gold
stormy-goldOP7mo ago
I keep getting this while trying to do google calendar where can I specify what email do I use etc and where to authenticate please send me your twitter accont
other-emerald
other-emerald7mo ago
When you will run composio add googlecalendar, it will open your broswer for OAuth and there you can select your account
other-emerald
other-emerald7mo ago
Composio (@composiohq) on X
Building tools for AGI to take over the Internet.
Twitter
stormy-gold
stormy-goldOP7mo ago
it did not do it automatecally, but I had to copy past url
stormy-gold
stormy-goldOP7mo ago
No description
other-emerald
other-emerald7mo ago
Okay, what browser are you using?? Also if you don't mind can you create a fresh forum and give this new issues there?? It will look clean Ohh yes, as you are using docker, it is have a separate env, it can't get your browser from there.
stormy-gold
stormy-goldOP7mo ago
No description
stormy-gold
stormy-goldOP7mo ago
@thatsmeadarsh @Soham I keep getting ComposioClientError: API Key is not valid! again It was working yesterday
other-emerald
other-emerald7mo ago
Replied you...
deep-jade
deep-jade7mo ago
hi, i am trying to get all messages from a whatsapp group channel . this code will give only group names or also the messages in those? i am trying to do export feature which is there in WA -- thx -- from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_actions(actions=[Action.WHATSAPP_GET_ALL_GROUPS]) --- i tried the hello_workd porogram from composio docs. still not getting pass through the basic errors -- (aienv) ec2-user:bkd:~/code/external/composio$ python test_wa.py Traceback (most recent call last): File "/home/ec2-user/code/external/composio/test_wa.py", line 3, in <module> tools = tool_set.get_actions(actions=[Action.WHATSAPP_REQUEST_CODE]) File "/home/ec2-user/.venvs/aienv/lib64/python3.9/site-packages/composio_openai/toolset.py", line 133, in get_actions for schema in self.get_action_schemas(actions=actions) File "/home/ec2-user/.venvs/aienv/lib64/python3.9/site-packages/composio/tools/toolset.py", line 562, in get_action_schemas self.check_connected_account(action=item.name) File "/home/ec2-user/.venvs/aienv/lib64/python3.9/site-packages/composio/tools/toolset.py", line 271, in check_connected_account raise ComposioSDKError( composio.exceptions.ComposioSDKError: No connected account found for app whatsapp; Run composio add whatsapp to fix this (aienv) ec2-user:bkd:~/code/external/composio$ composio add whatsapp
Adding integration: Whatsapp...
Error: {"status":404,"message":"The requested resource was not found"} --
Soham
Soham7mo ago
Hey, I know what is happening here. So whatsapp requires special access which has to be approved by. Facebook. Your account needs to have business api clearance. It's pretty painful to get it. Do you have any other apps you want to try out? I will fix this error scenario.
deep-jade
deep-jade7mo ago
Thanks @Soham for the response.
1. i can try getting the account approved. but how it works for a SaaS provider who wants to download clients data on behalf of them. What's the process? i assume client needs to share some auth token etc. 2. Teams chat, Slack chat download are the two integrations [same usecase download chat for that day for a slack group channel or teams chat channel ] we are looking too. if u can give her sample program that, that'll be helpful
rare-sapphire
rare-sapphire5mo ago
I cannot see this tool?

Did you find this page helpful?