Dave67350's picture
Create common.py
4774cf0 verified
Raw
History Blame Contribute Delete
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