Spaces:
Sleeping
Sleeping
Download tools/common.py from Dave67350/First_agent_template: direct link, hf CLI and curl.
- Browser
- Download file 355 Bytes
-
https://huggingface.co/spaces/Dave67350/First_agent_template/resolve/main/tools/common.py
- Command line
-
hf download hf://spaces/Dave67350/First_agent_template/tools/common.py
-
curl -L -o common.py https://huggingface.co/spaces/Dave67350/First_agent_template/resolve/main/tools/common.py
355 Bytes
| # tools/common.py | |
| def prepend_metadata_questions(questions): | |
| """Prepends standard metadata questions to any tool's question list.""" | |
| metadata = [ | |
| ("user_name", "What is your name?"), | |
| ("user_role", "What is your role?"), | |
| ("organization_name", "What is the name of your organization?") | |
| ] | |
| return metadata + questions | |