File size: 247 Bytes
8950c51
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from langchain_core.tools import tool


@tool
def power(a: float, b: float) -> float:
    """

    Get the power of two numbers.

    Args:

        a (float): the first number

        b (float): the second number

    """
    return a**b