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.
2024-06-15 20:05:19 +00:00
..
cli cli[minor]: remove redefined DEFAULT_GIT_REF (#21471) 2024-06-14 15:49:15 -07:00
community community(you): Better support for You.com News API (#22622) 2024-06-15 20:05:19 +00:00
core core: release 0.2.7 (#22917) 2024-06-14 20:03:58 +00:00
experimental Improve llm graph transformer docstring (#22939) 2024-06-15 15:33:26 -04:00
langchain langchain: release 0.2.5 (#22922) 2024-06-14 15:37:54 -07:00
partners anthropic[minor]: Adds streaming tool call support for Anthropic (#22687) 2024-06-14 09:14:43 -07:00
standard-tests multiple: add stop attribute (#22573) 2024-06-06 12:11:52 -04:00
text-splitters text-splitters[patch]: Fix HTMLSectionSplitter (#22812) 2024-06-14 22:40:39 +00:00