Musings On Building A Generative Ai Product
- Source
- linkedin.com
- Author
- LinkedIn Engineering
- Date
Context
LinkedIn’s 2024 engineering account describes a small-looking failure that repeatedly interrupted its AI assistant: model-generated tool arguments arrived in invalid formats. About 10% violated the expected schema or were not valid YAML, the structured text format used for the calls. Asking the model to repair each response added another generation step, increasing delay and computing demand. The team instead combined prompt changes with a defensive parser that detected and patched recurring mistakes, reporting a reduction to about 0.01%. That result concerns tool-call formatting, not the correctness of the assistant’s answers, and it shows that software around a model can fix a failure that prompting alone left in place.
- AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
- grounding — Tying a model's answers to checkable sources — retrieved documents, live data, tool results — instead of letting it answer from memory alone.
Checking sign-in…
Loading comments…

