AI_Agent_Service/get_transaction_info_tools.py [10:18]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def get_transaction_details(account_id: str) -> str:
    """Get transaction details for the given account ID."""
    try:
        txn_data_file = os.path.join(sample_data_path, f"Txn_{account_id}.json")
        with open(txn_data_file, "r") as file:
            data = file.read()
        return data
    except FileNotFoundError:
        return "Transaction details not found."
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



Autogen_v0.4/multi_agent/multi_agent_tools.py [17:24]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def get_transaction_details(account_id: str) -> str:
    try:
        txn_data_file = os.path.join(sample_data_path, f"Txn_{account_id}.json")
        with open(txn_data_file, "r") as file:
            data = file.read()
        return data
    except FileNotFoundError:
        return "Transaction details not found."
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



