# Copyright Sierra

from typing import Any, Dict


def transfer_to_human_agents(
    data: Dict[str, Any],
    summary: str,
) -> str:
    return "Transfer successful"


transfer_to_human_agents.__info__ = {
    "type": "function",
    "function": {
        "name": "transfer_to_human_agents",
        "description": "Transfer the user to a human agent, with a summary of the user's issue. Only transfer if the user explicitly asks for a human agent, or if the user's issue cannot be resolved by the agent with the available tools.",
        "parameters": {
            "type": "object",
            "properties": {
                "summary": {
                    "type": "string",
                    "description": "A summary of the user's issue.",
                },
            },
            "required": [
                "summary",
            ],
        },
    },
}
