dakshtaneja commited on
Commit
e726173
·
1 Parent(s): 4f10287

richer /explain, new copy: splash tagline, greeting, bot animation

Browse files

- /explain: longer, more detailed walkthrough (bidders, auction, learned
track record, verification, escalation/boss, web search, the payoff)
- splash tagline -> 'Ask more, know faster, pay less'
- input greeting -> 'Hi, what's going on?'
- bot animation: 'Live Auction House' -> 'The Bots Are Warming Up';
'waiting for a query…' -> 'Let them compete — the smartest answer wins'

frontend/components/AccessGate.tsx CHANGED
@@ -32,7 +32,7 @@ export function AccessGate({
32
  <span className="blink text-orange-500">_</span>
33
  </h1>
34
  <p className="font-[family-name:var(--font-pixel)] text-[10px] uppercase leading-relaxed text-orange-500/80">
35
- Ask more, pay less
36
  </p>
37
 
38
  {/* the bots warming up — same auction animation shown before a query */}
 
32
  <span className="blink text-orange-500">_</span>
33
  </h1>
34
  <p className="font-[family-name:var(--font-pixel)] text-[10px] uppercase leading-relaxed text-orange-500/80">
35
+ Ask more, know faster, pay less
36
  </p>
37
 
38
  {/* the bots warming up — same auction animation shown before a query */}
frontend/components/BidArcade.tsx CHANGED
@@ -62,10 +62,10 @@ export function BidArcade() {
62
  return (
63
  <div className="pixel-panel glow-border p-4">
64
  <h3 className="mb-1 font-[family-name:var(--font-pixel)] text-[10px] uppercase tracking-wider text-orange-500">
65
- ▚ Live Auction House
66
  </h3>
67
  <p className="mb-4 text-sm text-stone-500">
68
- waiting for a query… the bots are warming up
69
  </p>
70
 
71
  <div className="border-2 border-stone-800 bg-black px-3 pb-3 pt-6">
 
62
  return (
63
  <div className="pixel-panel glow-border p-4">
64
  <h3 className="mb-1 font-[family-name:var(--font-pixel)] text-[10px] uppercase tracking-wider text-orange-500">
65
+ ▚ The Bots Are Warming Up
66
  </h3>
67
  <p className="mb-4 text-sm text-stone-500">
68
+ Let them compete — the smartest answer wins
69
  </p>
70
 
71
  <div className="border-2 border-stone-800 bg-black px-3 pb-3 pt-6">
frontend/components/Chat.tsx CHANGED
@@ -60,7 +60,7 @@ const SEARCH_PHRASES = [
60
 
61
  // Rotating input-box placeholders. Index 0 is always the opening greeting.
62
  const PLACEHOLDERS = [
63
- "> hey there — ask me anything…",
64
  "> tip: type /explain to see how the auction works",
65
  "> tip: use the general / coding / logic-math toggle",
66
  "> tip: ask about current events — it searches the web",
@@ -71,29 +71,39 @@ const PLACEHOLDERS = [
71
  // Prewritten answer for the /explain command (rendered as Markdown)
72
  const EXPLAIN_TEXT = `## How GAVL works
73
 
74
- Every query runs a little **auction** among cheap models, and only the hard ones reach an expensive frontier model. Here's the flow.
75
 
76
- ### 1. Bidding
77
 
78
- Three specialist models bid in parallel — a generalist, a coder, and a logic/math model. Each returns a **confidence** (how well it'd answer), an **estimated difficulty**, and whether the query **needs live web search**. A confident bidder also drafts its answer right away.
 
 
 
 
 
 
79
 
80
  ### 2. The auction
81
 
82
- The bids are scored on \`0.7·confidence + 0.2·historical accuracy − 0.1·cost\`, and a winner is picked. Your **topic toggle** gives its model priority when it bids confidently. If nobody is confident and the query is genuinely hard, it escalates immediately.
83
 
84
  ### 3. Verification
85
 
86
- An independent verifier grades the winner's draft — correctness, completeness, and commitment. Creative writing skips this (no right answer to check).
87
 
88
- ### 4. Escalation
89
 
90
- Only if a **hard** query fails verification does it summon the frontier model (the "boss fight"). Easy queries never escalate — a weak answer just ships marked unverified.
91
 
92
  ### 5. Web search
93
 
94
- If a bidder flags the query as needing current info (news, latest releases, "who won X"), the winner searches the web and cites its sources.
 
 
 
 
95
 
96
- The point: **frontier-quality answers without paying frontier prices on every query.**`;
97
 
98
  export function Chat({
99
  onRun,
 
60
 
61
  // Rotating input-box placeholders. Index 0 is always the opening greeting.
62
  const PLACEHOLDERS = [
63
+ "> Hi, what's going on?",
64
  "> tip: type /explain to see how the auction works",
65
  "> tip: use the general / coding / logic-math toggle",
66
  "> tip: ask about current events — it searches the web",
 
71
  // Prewritten answer for the /explain command (rendered as Markdown)
72
  const EXPLAIN_TEXT = `## How GAVL works
73
 
74
+ Most chat apps send every question to one big, expensive model. GAVL doesn't. For each query it runs a tiny **auction**, lets cheap specialist models compete to answer, checks the winner's work, and only calls an expensive frontier model for the genuinely hard questions. You get frontier-quality answers without paying frontier prices on the easy majority.
75
 
76
+ ### 1. The bidders
77
 
78
+ Three cheap, fast models sit on the panel, each a specialist:
79
+
80
+ - a **generalist** for everyday questions, knowledge, and writing
81
+ - a **coder** for programming, debugging, and software architecture
82
+ - a **logic/math** model for reasoning and quantitative problems
83
+
84
+ When your query arrives, all three bid **in parallel**. Each returns a confidence (how well it thinks it would answer), a difficulty estimate, and a flag for whether the question needs live web data. A confident bidder also drafts its full answer on the spot, so if it wins there is no extra round-trip and you see text almost immediately.
85
 
86
  ### 2. The auction
87
 
88
+ Bids are scored so that a model which is confident, has a good track record, and is cheap tends to win. The **topic toggle** above the input (general / coding / logic-math) lets you steer: it gives that model priority when it bids confidently. And the track record is *learned* -- a model that overbids and then fails verification is trusted a little less next time.
89
 
90
  ### 3. Verification
91
 
92
+ The winning draft is graded by an **independent verifier** on correctness, completeness, and commitment. This is what catches a confident-but-wrong answer before it reaches you. Creative writing (stories, poems) skips this step, since there is no single correct answer to grade against.
93
 
94
+ ### 4. Escalation -- the "boss fight"
95
 
96
+ If a **genuinely hard** query fails verification, GAVL escalates to a frontier model: the boss. The bidders' difficulty estimate decides how hard it thinks and how long it is allowed to deliberate. Crucially, **easy questions never escalate** -- a weak answer to an easy question just ships (clearly marked unverified) rather than burning frontier money on something that does not need it.
97
 
98
  ### 5. Web search
99
 
100
+ If a bidder flags that answering correctly needs current information -- breaking news, latest releases, sports or election results, "who is X now", or a specific recent item it cannot recall -- the winner runs a live **web search** and cites its sources, instead of guessing from stale training data.
101
+
102
+ ---
103
+
104
+ **The result:** most questions are answered in a few seconds by a cheap model, quality-checked by the verifier, and grounded on the web when they need to be, while the expensive frontier model is reserved for the small fraction of questions that truly require it. Frontier-level answers, a fraction of the cost.
105
 
106
+ *Tip: try a toggle, ask a current-events question to watch it search, or ask something genuinely hard to summon the boss.*`;
107
 
108
  export function Chat({
109
  onRun,