Dave67350 commited on
Commit
4774cf0
·
verified ·
1 Parent(s): fd6b4ee

Create common.py

Browse files
Files changed (1) hide show
  1. tools/common.py +10 -0
tools/common.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # tools/common.py
2
+
3
+ def prepend_metadata_questions(questions):
4
+ """Prepends standard metadata questions to any tool's question list."""
5
+ metadata = [
6
+ ("user_name", "What is your name?"),
7
+ ("user_role", "What is your role?"),
8
+ ("organization_name", "What is the name of your organization?")
9
+ ]
10
+ return metadata + questions