Skip to content

Commit c4ed061

Browse files
author
stlc-bot
committed
fix(news): return extended descriptions for index search (#2019)
Stainless-Generated-From: e871cc264e0ae0db171f68c76a389ced5519db58
1 parent 0148caa commit c4ed061

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎src/context/dev/types/news_search_response.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ class Data(BaseModel):
4949
"""Bylined authors. Empty when no byline is available."""
5050

5151
description: Optional[str] = None
52-
"""Short summary or excerpt of the article, when the publisher provides one."""
52+
"""Article summary or excerpt.
53+
54+
Natural-language search descriptions include matching passages and are capped at
55+
2,000 characters.
56+
"""
5357

5458
image_url: Optional[str] = None
5559
"""Lead image for the article, when one is available."""

0 commit comments

Comments
 (0)