Problems / Big Model, Small Talk

Big Model, Small Talk Send each kind of message to the model it needs

How This Page Works

  1. Title block: sheet number, difficulty, format, mode and sub-topics
  2. The statement, in sections you can open and close
  3. Need a Hint?: each hint states its cost before you take it
  4. The config editor, with errors marked as you type
  5. A drawing of your config, updated as you edit
  6. Run: runs your answer, then the server checks it
  7. The results: what your config did, turn by turn
  8. Your result, against the pass and full-points lines
  9. Flag a Problem: report anything wrong

On the tutorials, these numbers appear beside the real parts of the page.

Sheet
C-03
Difficulty
Easy 2
Format
Config
Mode
Simulated

Open this on a computer to solve it. Config problems need a wider screen.

Go to the Editor Need a Hint?

A chat assistant sends every message to its large model, even "thanks". Choose a model for each kind of message.

The Situation

Larkspur Outdoor's chat assistant answers customers in its online shop. It can use three AI models: small, medium and large. A model is the program that writes each reply. A bigger model costs more. Today every message goes to the large model, even "hi" and "thanks". Your day of traffic has 9,839 messages. Sending all of them to the large model costs $113.73.

Your job: cut that cost without a single wrong answer.

Starting system: where your day's messages go, by kind
Small talk4,137 messagesOrder status3,025 messagesProduct questions2,135 messagesRefund disputes542 messagessmallmediumlargeevery kind of message goes here, even "thanks"

Your Move

In router.yaml, choose small, medium or large for each kind of message. Each choice is a route. Every message has one of these four kinds:

The kinds of message, and what customers ask in each
KindWhat customers ask
Small talk"hi", "thanks"
Order statusWhere is my order? Has it shipped?
Product questionsIs it waterproof? What does it weigh? Which bag is warmer? Will this tent fit my family?
Refund disputesMy refund is short. You charged me for a tent I returned.

Here are last month's hardest product questions. Each message has a level, which says how hard it is to answer correctly:

Last month's hardest product questions
QuestionLevel
Is the Summit 45 backpack big enough for three nights, with the Ridge 2 tent inside?72
I run cold at night. Is the Alpine 30 sleeping bag enough below freezing?71
Will the Ridge 2 tent fit two adults and a dog?70

Then press Run to see what each message cost, and any wrong answers.

The Rule That Decides

R1. Right and Wrong Answers

Each model has a capability: large 95, medium 80, small 60. A model answers a message correctly when its capability is at least the message's level. Your results show each message's level.

Targets

  • Cost cut, how much less your day costs than the starting system: at least 60% to pass, and 75% for full points.
  • Accuracy must stay at 100%.

Your fix is also checked on inputs you can't see, so tune for the rule, not the sample.

The Fine Print

R2. Prices

Models read and bill text in tokens, which are small pieces of words. Input is what is sent to the model. Output is the reply it writes. Prices are in dollars per million tokens:

Prices by model, in dollars per million tokens
ModelInputOutput
large420
medium210
small0.10.5

R3. How Messages Are Labeled

The chat widget labels each message with one kind, so you don't need a model to sort them. Customers pick a kind from the menu buttons. A typed greeting or thank-you is small talk.

R4. What a Message Costs

Each message is sent with the assistant's instructions, which include the return policy. The instructions are 2,300 tokens. Order status messages and refund disputes also include the customer's order. Product questions also include the catalog entries they name. A message's cost is its input tokens at the model's input price, plus its output tokens at the model's output price (R2). Every message pays the full input price for its instructions, even though they are the same in every message.

No message's level is above the large model's capability. This problem ignores earlier messages in the chat.

Giving each model a single capability number is a simplification. Real models are better at some kinds of question than others, and don't fail at a fixed level.

Need a Hint?

Hint 1 of 3 caps what you can earn at 18 out of 20 points. Points you’ve already earned stay. How points work

router.yaml
Runs the simulator in your browser, then the server checks it. Press Tab to move out of the editor; Ctrl+Enter runs.
Your routes: which model gets each kind of message
Small talk4,137 messagesOrder status3,025 messagesProduct questions2,135 messagesRefund disputes542 messagessmallmediumlarge
Something wrong with this problem?

Flag a Problem

Sign in to flag this problem. Reports help fix wording, checks and pages.

Sign In

Reports go to the site owner. Privacy

Something wrong with this problem?

Flag a Problem

Sign in to flag this problem. Reports help fix wording, checks and pages.

Sign In

Reports go to the site owner. Privacy