Spaces:
Sleeping
Sleeping
Update variables.py
Browse files- variables.py +47 -52
variables.py
CHANGED
@@ -3,12 +3,7 @@ You are an expert art historian specializing in interactive exploration. Analyze
|
|
3 |
|
4 |
###Input###
|
5 |
User Query: {user_query}
|
6 |
-
Current Zoom States: {
|
7 |
-
"temporal": {"level": "", "selection": ""},
|
8 |
-
"geographical": {"level": "", "selection": ""},
|
9 |
-
"style": {"level": "", "selection": ""},
|
10 |
-
"subject": {"level": "", "selection": ""}
|
11 |
-
}
|
12 |
|
13 |
###Output Format###
|
14 |
{
|
@@ -131,49 +126,49 @@ Generate only the JSON response, maintaining strict JSON format."""
|
|
131 |
|
132 |
|
133 |
|
134 |
-
CONTEXTUAL_ZOOM_default_response={
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
|
|
3 |
|
4 |
###Input###
|
5 |
User Query: {user_query}
|
6 |
+
Current Zoom States: {current_zoom_states}
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
###Output Format###
|
9 |
{
|
|
|
126 |
|
127 |
|
128 |
|
129 |
+
CONTEXTUAL_ZOOM_default_response = {
|
130 |
+
"analysis": {
|
131 |
+
"query_focus": "Default focus",
|
132 |
+
"historical_context": "Default historical context"
|
133 |
+
},
|
134 |
+
"axis_configurations": {
|
135 |
+
"temporal": {
|
136 |
+
"component": "st.slider",
|
137 |
+
"current_zoom": {
|
138 |
+
"level": "century",
|
139 |
+
"range": [1700, 2000],
|
140 |
+
"explanation": "Default time range"
|
141 |
+
},
|
142 |
+
"available_zooms": {
|
143 |
+
"in": {
|
144 |
+
"range": [1800, 1900],
|
145 |
+
"explanation": "Zoom in to see more detail"
|
146 |
+
},
|
147 |
+
"out": {
|
148 |
+
"range": [1500, 2024],
|
149 |
+
"explanation": "Broader historical context"
|
150 |
+
}
|
151 |
+
}
|
152 |
+
},
|
153 |
+
"geographical": {
|
154 |
+
"current_zoom": {
|
155 |
+
"level": "continent",
|
156 |
+
"locations": [
|
157 |
+
{
|
158 |
+
"name": "Paris",
|
159 |
+
"lat": 48.8566,
|
160 |
+
"lon": 2.3522,
|
161 |
+
"relevance": "Default location"
|
162 |
+
}
|
163 |
+
]
|
164 |
+
}
|
165 |
+
},
|
166 |
+
"style": {
|
167 |
+
"current_zoom": {
|
168 |
+
"level": "movement",
|
169 |
+
"options": ["Classical", "Modern"],
|
170 |
+
"explanation": "Default art movements"
|
171 |
+
}
|
172 |
+
}
|
173 |
+
}
|
174 |
+
}
|