baconnier commited on
Commit
f975e53
·
verified ·
1 Parent(s): d954da7

Update variables.py

Browse files
Files changed (1) hide show
  1. 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
- "analysis": {
136
- "query_focus": "Default focus",
137
- "historical_context": "Default historical context"
138
- },
139
- "axis_configurations": {
140
- "temporal": {
141
- "component": "st.slider",
142
- "current_zoom": {
143
- "level": "century",
144
- "range": [1700, 2000],
145
- "explanation": "Default time range"
146
- },
147
- "available_zooms": {
148
- "in": {
149
- "range": [1800, 1900],
150
- "explanation": "Zoom in to see more detail"
151
- },
152
- "out": {
153
- "range": [1500, 2024],
154
- "explanation": "Broader historical context"
155
- }
156
- }
157
- },
158
- "geographical": {
159
- "current_zoom": {
160
- "level": "continent",
161
- "locations": [
162
- {
163
- "name": "Paris",
164
- "lat": 48.8566,
165
- "lon": 2.3522,
166
- "relevance": "Default location"
167
- }
168
- ]
169
- }
170
- },
171
- "style": {
172
- "current_zoom": {
173
- "level": "movement",
174
- "options": ["Classical", "Modern"],
175
- "explanation": "Default art movements"
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
+ }