# Search in the body of documents    ))import logginglogging.basicConfig(level=logging.INFO)tool.run("machine learning")tool.descriptionfrom langchain.agents import load_toolstools = load_tools(["google-drive-search"],                   folder_id=folder_id,                   template="gdrive-query-in-folder",                  )Use within an Agent‚Äãfrom langchain.llms import OpenAIfrom langchain.agents import initialize_agent, AgentTypellm = OpenAI(temperature=0)agent = initialize_agent(    tools=tools,    llm=llm,    agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION,)agent.run(    "Search in google drive, who is 'Yann LeCun' ?")PreviousGolden QueryNextGoogle PlacesPrerequisitesInstructions for retrieving your Google Docs dataUse within an AgentCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.
This notebook walks through connecting a LangChain to the Google Drive API.
This notebook walks through connecting a LangChain to the Google Drive API. ->: # Search in the body of documents    ))import logginglogging.basicConfig(level=logging.INFO)tool.run("machine learning")tool.descriptionfrom langchain.agents import load_toolstools = load_tools(["google-drive-search"],                   folder_id=folder_id,                   template="gdrive-query-in-folder",                  )Use within an Agent‚Äãfrom langchain.llms import OpenAIfrom langchain.agents import initialize_agent, AgentTypellm = OpenAI(temperature=0)agent = initialize_agent(    tools=tools,    llm=llm,    agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION,)agent.run(    "Search in google drive, who is 'Yann LeCun' ?")PreviousGolden QueryNextGoogle PlacesPrerequisitesInstructions for retrieving your Google Docs dataUse within an AgentCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.