langchain/libs/community/langchain_community
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
..
adapters community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
agent_toolkits community[patch]: Update root_validators embeddings: llamacpp, jina, dashscope, mosaicml, huggingface_hub, Toolkits: Connery, ChatModels: PAI_EAS, (#22828) 2024-06-12 13:59:05 -04:00
agents community: update how OpenAIAssistantV2Runnable creates threads with tool_resources (#22549) 2024-06-05 14:19:41 -04:00
callbacks community[patch]: Add missing type annotations (#22758) 2024-06-10 16:59:28 -04:00
chains community[patch]: Add missing type annotations (#22758) 2024-06-10 16:59:28 -04:00
chat_loaders infra: rm unused # noqa violations (#22049) 2024-05-22 15:21:08 -07:00
chat_message_histories community[minor]: Add native async support to SQLChatMessageHistory (#22065) 2024-06-05 15:10:38 +00:00
chat_models docs: update ZhipuAI ChatModel docstring (#22934) 2024-06-15 09:12:21 -04:00
cross_encoders [Community]: HuggingFaceCrossEncoder score accounting for <not-relevant score,relevant score> pairs. (#22578) 2024-06-14 08:28:24 -07:00
docstore community[patch]: Fix remaining __inits__ in community (#22037) 2024-05-22 17:42:17 +00:00
document_compressors community[minor]: add Volcengine Rerank (#22700) 2024-06-10 13:41:05 -07:00
document_loaders docs: Fix wrongly referenced class name in confluence.py (#22879) 2024-06-14 14:00:48 -07:00
document_transformers community[minor]: Fix long_context_reorder.py async (#22839) 2024-06-14 13:55:18 -04:00
embeddings community[minor]: Implement ZhipuAIEmbeddings interface (#22821) 2024-06-13 19:45:11 -07:00
example_selectors docs: added community modules descriptions (#17827) 2024-02-21 16:18:36 -08:00
graphs infra: rm unused # noqa violations (#22049) 2024-05-22 15:21:08 -07:00
indexes community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
llms Update ollama.py with optional raw setting. (#21486) 2024-06-14 17:19:26 -07:00
memory community[minor]: Add Zep Cloud components + docs + examples (#21671) 2024-05-27 12:50:13 -07:00
output_parsers infra: rm unused # noqa violations (#22049) 2024-05-22 15:21:08 -07:00
query_constructors multiple: langchain 0.2 in master (#21191) 2024-05-08 16:46:52 -04:00
retrievers ci: Add script to check for pickle usage in community (#22863) 2024-06-13 16:13:15 -04:00
storage community[minor]: fix redis store docstring and streamline initialization code (#22730) 2024-06-11 14:08:05 +00:00
tools [docs]: added info for TavilySearchResults (#22765) 2024-06-13 12:14:11 -07:00
utilities community(you): Better support for You.com News API (#22622) 2024-06-15 20:05:19 +00:00
utils community[patch]: Use Custom Logger Instead of Root Logger in get_user_agent Function (#22691) 2024-06-08 02:33:07 +00:00
vectorstores community: 'Solve the issue where the _search function in ElasticsearchStore supports passing a query_vector parameter, but the parameter does not take effect. (#21532) 2024-06-14 17:13:11 -07:00
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
cache.py community: init signature revision for Cassandra LLM cache classes + small maintenance (#17765) 2024-05-16 17:22:24 +00:00
py.typed community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00