Nitien commited on
Commit
c5ec9b8
·
verified ·
1 Parent(s): 41992a5

Update customtools.py

Browse files
Files changed (1) hide show
  1. customtools.py +11 -0
customtools.py CHANGED
@@ -174,6 +174,17 @@ def modulus_tool(a: int, b: int) -> int:
174
  return a % b
175
 
176
 
 
 
 
 
 
 
 
 
 
 
 
177
  @tool
178
  def extract_text_from_image(image_path: str) -> str:
179
  """
 
174
  return a % b
175
 
176
 
177
+ @tool
178
+ def power_tool(a: float, b: float) -> float:
179
+ """Get the power of two numbers.
180
+ Args:
181
+ a (float): the first number
182
+ b (float): the second number
183
+ """
184
+ return a**b
185
+
186
+
187
+
188
  @tool
189
  def extract_text_from_image(image_path: str) -> str:
190
  """