milwright commited on
Commit
ab31e16
Β·
1 Parent(s): 1a21774

Update support_docs.py (again)

Browse files
Files changed (2) hide show
  1. academic_templates.json +7 -7
  2. support_docs.py +1 -38
academic_templates.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "Socratic Dialogue Partner": {
3
- "name": "Socratic Dialogue Partner",
4
- "description": "Socratic dialogue partner based on Phaedrus",
5
- "system_prompt": "You are a Socratic conversation partner for students in general education courses across all disciplines with strengths in the pebble-in-the-pond learning model, responsive teaching, and constructivist learning principles. Loosely model your approach after Socrates' interlocutor Phaedrus from the eponymous Socratic dialogue, guiding students through source discovery, evaluation, and synthesis using methods of Socratic dialogue. Ask probing questions about explicit and implicit disciplinary knowledge, adapting to their skill level over the conversation and incrementing in complexity based on their demonstrated ability. Connect theory and method to grounded experiences, fostering reflexivity and critical dialogue around research methods and disciplinary practices. Select timely moments to respond with a punchy tone and ironic or self-referential levity. Expect to complete every response in under 400 tokens, and always end with a question to keep the conversation going.",
6
  "examples": [
7
  "What makes a good research question?",
8
  "How do I know if my sources are reliable?",
@@ -10,9 +10,9 @@
10
  "I'm confused about methodology - where do I start?",
11
  "Why does theory matter in practice?"
12
  ],
13
- "model": "qwen/qwen3-30b-a3b-instruct-2507",
14
  "api_key_var": "API_KEY",
15
- "temperature": 0.6,
16
  "max_tokens": 400,
17
  "grounding_urls": [
18
  "https://classics.mit.edu/Plato/phaedrus.1b.txt",
@@ -32,7 +32,7 @@
32
  "How do I play?",
33
  "What's the meaning of this?"
34
  ],
35
- "model": "google/gemma-3-27b-it",
36
  "api_key_var": "API_KEY",
37
  "temperature": 0.9,
38
  "max_tokens": 750,
 
1
  {
2
+ "Socratic Research Partner": {
3
+ "name": "Socratic Research Partner",
4
+ "description": "Socratic research partner based on Phaedrus",
5
+ "system_prompt": "You are a Socratic research partner for students in general education courses across all disciplines with strengths in the pebble-in-the-pond learning model, responsive teaching, and constructivist learning principles. Loosely model your approach after Socrates' interlocutor Phaedrus from the eponymous Socratic dialogue. Guide students through source discovery, evaluation, and synthesis using methods of Socratic dialogue. Ask probing questions about explicit and implicit disciplinary knowledge, adapting to their skill level over the conversation and incrementing in complexity based on their demonstrated ability. Connect theory and method to grounded experiences, fostering reflexivity and critical dialogue around research methods and disciplinary practices. Select timely moments to respond with a punchy tone and ironic or self-referential levity. Expect to complete every response in under 400 tokens, and always end with a question to keep the conversation going.",
6
  "examples": [
7
  "What makes a good research question?",
8
  "How do I know if my sources are reliable?",
 
10
  "I'm confused about methodology - where do I start?",
11
  "Why does theory matter in practice?"
12
  ],
13
+ "model": "google/gemma-3-27b-it",
14
  "api_key_var": "API_KEY",
15
+ "temperature": 0.7,
16
  "max_tokens": 400,
17
  "grounding_urls": [
18
  "https://classics.mit.edu/Plato/phaedrus.1b.txt",
 
32
  "How do I play?",
33
  "What's the meaning of this?"
34
  ],
35
+ "model": "qwen/qwen3-30b-a3b-instruct-2507",
36
  "api_key_var": "API_KEY",
37
  "temperature": 0.9,
38
  "max_tokens": 750,
support_docs.py CHANGED
@@ -176,16 +176,6 @@ def create_support_docs():
176
  container=False
177
  )
178
 
179
- with gr.Column(scale=1):
180
- gr.Image(
181
- value="img/img4.png",
182
- label="Settings Variables and Secrets",
183
- show_label=True,
184
- interactive=False,
185
- width=400,
186
- container=False
187
- )
188
-
189
  with gr.Column(scale=1):
190
  gr.Image(
191
  value="img/img3.png",
@@ -196,7 +186,7 @@ def create_support_docs():
196
  container=False
197
  )
198
 
199
- with gr.Accordion("Step 4: Monitor Build & Verify Configuration", open=False):
200
  gr.Markdown("""
201
  **4a. Build Monitoring**
202
  - Space will show "Building..." status
@@ -208,33 +198,6 @@ def create_support_docs():
208
  - API Key should show "Configured and valid" βœ…
209
  - Test chat interface with example prompts
210
  """)
211
-
212
- with gr.Row():
213
- with gr.Column(scale=1):
214
- gr.Image(
215
- value="img/img7.png",
216
- label="Build Process",
217
- show_label=True,
218
- interactive=False,
219
- width=400,
220
- container=False
221
- )
222
- with gr.Column(scale=1):
223
- gr.Image(
224
- value="img/img1.png",
225
- label="Successful Configuration",
226
- show_label=True,
227
- interactive=False,
228
- width=400,
229
- container=False
230
- )
231
-
232
- gr.Markdown("""
233
- **4c. Configuration Status Indicators:**
234
- - ❌ Red X: API key not configured or invalid
235
- - βœ… Green check: All settings configured correctly
236
- - πŸ”„ Building: Space is updating with new changes
237
- """)
238
 
239
  gr.Markdown("""
240
  ---
 
176
  container=False
177
  )
178
 
 
 
 
 
 
 
 
 
 
 
179
  with gr.Column(scale=1):
180
  gr.Image(
181
  value="img/img3.png",
 
186
  container=False
187
  )
188
 
189
+ with gr.Accordion("Step 3d: Verify Build & Update", open=False):
190
  gr.Markdown("""
191
  **4a. Build Monitoring**
192
  - Space will show "Building..." status
 
198
  - API Key should show "Configured and valid" βœ…
199
  - Test chat interface with example prompts
200
  """)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
 
202
  gr.Markdown("""
203
  ---