You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I tried to create a folder using Composio action. After that, I tried the same query as before and it returned only 1 folder, which was the one I had created earlier.
from composio_langchain import ComposioToolSet
composio_toolsets = ComposioToolSet(api_key=api_key, entity_id=entity_id)
tools = composio_toolsets.get_tools(actions=['GOOGLEDRIVE_CREATE_FOLDER', 'GOOGLEDRIVE_FIND_FILE', 'GOOGLEDRIVE_FIND_FOLDER', 'GOOGLEDRIVE_CREATE_FILE_FROM_TEXT', 'GOOGLEDRIVE_PARSE_FILE', 'GOOGLEDRIVE_EDIT_FILE', 'GOOGLEDRIVE_DELETE_FOLDER_OR_FILE'])
agent = create_openai_functions_agent(llm, tools, prompt)
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
task = "create a folder with name `testing composio`"
result = agent_executor.invoke({"input": task})
print(result)
Result when performing get list all folder:
{'input': 'list all folder', 'output': 'Here is the list of folders in your Google Drive:\n\n1. Folder Name: testing composio\n Folder ID: 1_asdasd'}
Is this the expected behavior?
The text was updated successfully, but these errors were encountered:
Currently I can't query my own Google Drive.
When I try to find folders containing a specific name, it returns zero folders even though I have many folders.
Then I tried to create a folder using Composio action. After that, I tried the same query as before and it returned only 1 folder, which was the one I had created earlier.
Result when performing get list all folder:
Is this the expected behavior?
The text was updated successfully, but these errors were encountered: