Spaces:
No application file
No application file
Download tools/my_function.py from NeuralNotwork/extendable-agents: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/spaces/NeuralNotwork/extendable-agents/resolve/73b53115bb4eec92c45645f736b63e8d5ac4d596/tools/my_function.py
- Command line
-
hf download hf://spaces/NeuralNotwork/extendable-agents@73b53115bb4eec92c45645f736b63e8d5ac4d596/tools/my_function.py
-
curl -L -o my_function.py https://huggingface.co/spaces/NeuralNotwork/extendable-agents/resolve/73b53115bb4eec92c45645f736b63e8d5ac4d596/tools/my_function.py
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 | |