Design file ingestion for AI chat
Design how file attachments move from upload to a state where AI chat can use them safely, including slow processing and failures.
Filter by the role, format, or skill you want to sharpen.
Design how file attachments move from upload to a state where AI chat can use them safely, including slow processing and failures.
Process cache reads and writes while evicting the least recently used key.
7 short-answer questions on ML fundamentals.
This throttle guards the /v1/messages endpoint. Each account gets a refilling budget measured in units, and bigger generations cost more units. It passes its unit tests and is…
Strategy-memo interviews at PM-leadership level test whether you can make a decision under ambiguity, with real stakes across safety, compute, revenue, and competitive timing.…
Implement a K-nearest neighbors classifier from scratch, with a deterministic rule for tied votes.
This helper decides whether a customer user can read a file. Paths are normalized absolute POSIX paths. A rule on a folder applies to its descendants, and a rule may also be…
The code below uses OpenAI Chat Completions and is meant to run a short tool-calling exchange and return the model's final answer. Find the bugs. For each one, say what it…
Northstar wants to move its agent-observability workflows to its existing ML platform and asks whether you support the move or recommend staying put. Before taking a position,…
An enterprise customer wants its support agent to issue refunds instead of only recommending them. Before approving the capability or writing controls, identify roughly six…
Recover exclusive function times from a nested stream of profiler events.
Weekly active use of the assistant has fallen, and leadership wants a recovery plan next week. Before proposing one, start with about six checks that would show whether the…
Build the scorecard you would use at the end of the beta to decide whether file uploads should expand to every paid account. Choose one north star and a compact set of…
The team must choose one workflow for the first field pilot. Set out the questions you would investigate with prospective users and the product team before making that choice.…
Define the scorecard you would bring to the six-week pilot review. Choose one north star and a compact set of supporting and countermetrics that show whether Study Mode…
Before proposing anything, set out around six discovery questions you would ask. For each, say what the answer would change about what you build. Do not pitch a solution yet.
A label-quality dashboard ranks labeler 17 as the worst annotator in the current batch, and the team wants to exclude all of their labels from tomorrow's retrain. Start with…