GameTheory commited on
Commit
a6cb1df
·
verified ·
1 Parent(s): 760da16

Sync from GitHub

Browse files
Files changed (2) hide show
  1. app.py +6 -2
  2. index.html +1 -1
app.py CHANGED
@@ -412,7 +412,10 @@ SYNTH_SYSTEM = (
412
  "You are the Worcestershire Libraries assistant. Answer ONLY from the LIVE "
413
  "DATA provided — never invent titles, times, prices, stops or facilities. Warm, "
414
  "concise, British English. Keep the markdown links and the ✅/🔎 lines from the "
415
- "data. If the data doesn't answer it, say so and point to the source link.")
 
 
 
416
 
417
 
418
  def synthesize_stream(question, rendered):
@@ -445,7 +448,8 @@ HELP = (
445
  "- 📅 **What's on** this week\n"
446
  "- 💻 **Free online** — newspapers, magazines, family history\n"
447
  "- 🖨️ **Printing** from your phone\n\n"
448
- "_Official sources only I don't use the out-of-date Hive website._")
 
449
 
450
 
451
  # --------------------------------------------------------------------------- #
 
412
  "You are the Worcestershire Libraries assistant. Answer ONLY from the LIVE "
413
  "DATA provided — never invent titles, times, prices, stops or facilities. Warm, "
414
  "concise, British English. Keep the markdown links and the ✅/🔎 lines from the "
415
+ "data. Lead with what the person CAN do: if a service meets their need in a "
416
+ "different way (e.g. they can't print AT home, but can send a job from home "
417
+ "and collect it at any branch), open with that — never with a bare 'no'. "
418
+ "If the data doesn't answer it, say so and point to the source link.")
419
 
420
 
421
  def synthesize_stream(question, rendered):
 
448
  "- 📅 **What's on** this week\n"
449
  "- 💻 **Free online** — newspapers, magazines, family history\n"
450
  "- 🖨️ **Printing** from your phone\n\n"
451
+ "_Every answer is checked live against official Worcestershire County "
452
+ "Council sources._")
453
 
454
 
455
  # --------------------------------------------------------------------------- #
index.html CHANGED
@@ -97,7 +97,7 @@
97
  <input id="box" placeholder="Ask anything about your local library…" autofocus />
98
  <button id="send" type="submit">Ask</button>
99
  </form>
100
- <footer>Official sources only · we don't use the out-of-date Hive website ·
101
  runs on a ≤32B model</footer>
102
  </div>
103
 
 
97
  <input id="box" placeholder="Ask anything about your local library…" autofocus />
98
  <button id="send" type="submit">Ask</button>
99
  </form>
100
+ <footer>Checked live against official council sources ·
101
  runs on a ≤32B model</footer>
102
  </div>
103