Vibeleaderboard
← All Intel
Intel / article

Musings On Building A Generative Ai Product

Source
linkedin.com
Publisher
LinkedIn
Author
LinkedIn Engineering
Date

Context

LinkedIn’s 2024 engineering account describes a small-looking failure that repeatedly interrupted its AI assistant: model-generated arguments arrived in invalid formats. About 10% violated the expected 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 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.

Terms in this piece · Glossary
  • Tool — An operation that the software around a model makes available for the model to request, with a name, expected inputs and a kind of result.
  • Schema — A written description of a data format: which fields exist, what kind of value each holds and which are required.
  • Prompt — Information or instructions supplied to a model; in a chat, the request you type is often called your prompt.
  • grounding — Tying a model's answers to checkable sources — retrieved documents, live data, tool results — instead of letting it answer from memory alone.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source www.linkedin.com
More from LinkedIn Engineering
Recommended reads