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/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.
3 months ago
..
adapters community[patch]: upgrade to recent version of mypy (#21616) 5 months ago
agent_toolkits community[patch]: Update root_validators embeddings: llamacpp, jina, dashscope, mosaicml, huggingface_hub, Toolkits: Connery, ChatModels: PAI_EAS, (#22828) 4 months ago
agents community: update how OpenAIAssistantV2Runnable creates threads with tool_resources (#22549) 4 months ago
callbacks community[patch]: Add missing type annotations (#22758) 4 months ago
chains community[patch]: Add missing type annotations (#22758) 4 months ago
chat_loaders infra: rm unused # noqa violations (#22049) 4 months ago
chat_message_histories community[minor]: Add native async support to SQLChatMessageHistory (#22065) 4 months ago
chat_models docs: update ZhipuAI ChatModel docstring (#22934) 4 months ago
cross_encoders [Community]: HuggingFaceCrossEncoder `score` accounting for <not-relevant score,relevant score> pairs. (#22578) 4 months ago
docstore community[patch]: Fix remaining __inits__ in community (#22037) 4 months ago
document_compressors community[minor]: add Volcengine Rerank (#22700) 4 months ago
document_loaders docs: Fix wrongly referenced class name in confluence.py (#22879) 4 months ago
document_transformers community[minor]: Fix long_context_reorder.py async (#22839) 4 months ago
embeddings community[minor]: Implement ZhipuAIEmbeddings interface (#22821) 4 months ago
example_selectors
graphs infra: rm unused # noqa violations (#22049) 4 months ago
indexes community[patch]: upgrade to recent version of mypy (#21616) 5 months ago
llms Update ollama.py with optional raw setting. (#21486) 4 months ago
memory community[minor]: Add Zep Cloud components + docs + examples (#21671) 4 months ago
output_parsers infra: rm unused # noqa violations (#22049) 4 months ago
query_constructors multiple: langchain 0.2 in master (#21191) 5 months ago
retrievers ci: Add script to check for pickle usage in community (#22863) 4 months ago
storage community[minor]: fix redis store docstring and streamline initialization code (#22730) 4 months ago
tools [docs]: added info for TavilySearchResults (#22765) 4 months ago
utilities community(you): Better support for You.com News API (#22622) 3 months ago
utils community[patch]: Use Custom Logger Instead of Root Logger in get_user_agent Function (#22691) 4 months ago
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) 4 months ago
__init__.py
cache.py community: init signature revision for Cassandra LLM cache classes + small maintenance (#17765) 4 months ago
py.typed