text: here.search.results(    "The best blog post about AI safety is definitely this: ",    10,    include_domains=["lesswrong.com"],    start_published_date="2019-01-01",)Use Metaphor as a toolMetaphor can be used as a tool that gets URLs that other tools such as browsing tools.from langchain.agents.agent_toolkits import PlayWrightBrowserToolkitfrom langchain.tools.playwright.utils import (    create_async_playwright_browser,  # A synchronous browser is available, though it isn't compatible with jupyter.)async_browser = create_async_playwright_browser()toolkit = PlayWrightBrowserToolkit.from_browser(async_browser=async_browser)tools = toolkit.get_tools()tools_by_name = {tool.name: tool for tool in tools}print(tools_by_name.keys())navigate_tool = tools_by_name["navigate_browser"]extract_text = tools_by_name["extract_text"]from langchain.agents import initialize_agent, AgentTypefrom langchain.chat_models import ChatOpenAIfrom langchain.tools import MetaphorSearchResultsllm = ChatOpenAI(model_name="gpt-4", temperature=0.7)metaphor_tool = MetaphorSearchResults(api_wrapper=search)agent_chain = initialize_agent(    [metaphor_tool, extract_text, navigate_tool],    llm,    agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION,    verbose=True,)agent_chain.run(    "find me an interesting tweet about AI safety using Metaphor, then tell me the first sentence in the post. Do not finish until able to retrieve the first sentence.")PreviousLemon AI NLP Workflow AutomationNextOpenWeatherMap APICommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright Â© 2023 LangChain, Inc.