def run_search_example():
    """Run an example search query using the scrapegraph tool."""
    # Example 1: Basic search
    query = "What are the latest developments in artificial intelligence?"
    response = agent.chat(
        f"Use the scrapegraph search tool to find information about: {query}"
    )
    print("\nSearch Results:")
    print(f"Query: {query}")
    print(f"Response: {response}")

    # Example 2: More specific search
    query = "What are the key features of Python 3.12?"
    response = agent.chat(
        f"Use the scrapegraph search tool to find detailed information about: {query}"
    )
    print("\nSearch Results:")
    print(f"Query: {query}")
    print(f"Response: {response}")
Run an example search query using the scrapegraph tool.
llama-index-integrations/tools/llama-index-tools-scrapegraph/examples/scrapegraph-search-llama-index.py