You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs
Christopher Tee ada03dd273
community(you): Better support for You.com News API (#22622)
## Description
While `YouRetriever` supports both You.com's Search and News APIs, news
is supported as an afterthought.
More specifically, not all of the News API parameters are exposed for
the user, only those that happen to overlap with the Search API.

This PR:
- improves support for both APIs, exposing the remaining News API
parameters while retaining backward compatibility
- refactor some REST parameter generation logic
- updates the docstring of `YouSearchAPIWrapper`
- add input validation and warnings to ensure parameters are properly
set by user
- 🚨 Breaking: Limit the news results to `k` items

If no one reviews your PR within a few days, please @-mention one of
baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.
3 weeks ago
..
cli cli[minor]: remove redefined DEFAULT_GIT_REF (#21471) 3 weeks ago
community community(you): Better support for You.com News API (#22622) 3 weeks ago
core core: release 0.2.7 (#22917) 3 weeks ago
experimental Improve llm graph transformer docstring (#22939) 3 weeks ago
langchain langchain: release 0.2.5 (#22922) 3 weeks ago
partners anthropic[minor]: Adds streaming tool call support for Anthropic (#22687) 3 weeks ago
standard-tests multiple: add `stop` attribute (#22573) 4 weeks ago
text-splitters text-splitters[patch]: Fix HTMLSectionSplitter (#22812) 3 weeks ago