extendable-agents / tools /my_function.py
NeuralNotwork's picture
Update my_function.py
fcb0fc0 verified
raw
history blame
348 Bytes
"""Template for custom function or Pydantic model."""
from pydantic import BaseModel
from pydantic import Field
def my_function(arg1: str, arg2: int) -> int:
"""My function. Docstrings and arguments are useful for function calls.
Args:
arg1: The first argument.
arg2: The second argument.
"""
return arg1 + arg2