Spaces:
Runtime error
Runtime error
Download src/tools/__init__.py from GLorr/ML6-Gemini-Demo: direct link, hf CLI and curl.
- Browser
- Download file 377 Bytes
-
https://huggingface.co/spaces/GLorr/ML6-Gemini-Demo/resolve/main/src/tools/__init__.py
- Command line
-
hf download hf://spaces/GLorr/ML6-Gemini-Demo/src/tools/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/GLorr/ML6-Gemini-Demo/resolve/main/src/tools/__init__.py
377 Bytes
| """Tools package for API integrations.""" | |
| from .functions import ( | |
| store_input, | |
| store_input_tool, | |
| validate_answer, | |
| validate_answer_tool, | |
| ) | |
| # Map of function names to their implementations | |
| FUNCTION_MAP = { | |
| "validate_answer": validate_answer, | |
| "store_input": store_input, | |
| } | |
| # List of all available tools | |
| TOOLS = [store_input_tool, validate_answer_tool] | |