How we introduced a generative model into Auto.ru listings. A Yandex talk

Maxim Almaev, Dmitry Razmolodin18 Oct 2024

Problem

Sellers on a car classifieds site fill in a form and write a free-text description. About 10% of users leave the description empty, and writing it takes 60% of users 7–8 minutes on average. Listings without a description look less trustworthy to buyers, so their authors sell more slowly and are less satisfied with the service. A model can write the text, but it can hallucinate and each call costs money.

Example from the article: a year before publication the model once returned a string of glued-together keywords for a car listing, and without clear constraints it could mention an air conditioner in an "Oka".

Solution in brief

A "Create a description" button builds a prompt from the listing draft fields, sends it to YandexGPT and puts the answer into the description field. Hallucinations were reduced by a detailed, explicit prompt and temperature 0.6. Quality was checked by an internal 5-point review, then by a crowd side-by-side test against human texts. Cost was estimated from request-rate charts and capped with a rate limiter.

Questions this case answers
  • How to ship a generative text feature that fills an optional free-text field when the model sometimes invents facts and each call costs money
  • How to decide that generated text is good enough to launch when the only reference is human-written text of uneven quality
  • How to add LLM-generated descriptions to a seller's listing form without hallucinated text reaching the site
  • How to evaluate generated text before launch when there is no ground truth

Tools and methods

  • YandexGPT — text generation from the listing fields.
  • Prompt engineering — many listing parameters plus explicit "do" and "do not" instructions.
  • Side-by-side evaluation with crowd assessors — generated text against real seller text.
  • Grafana RPS charts — load estimate.
  • Rate limiter — caps spend.
Continue reading — it's free

Google or a one-time email code. No password.