docs: add vecr-compress integration provider page#3677
docs: add vecr-compress integration provider page#3677Mythacker (h2cker) wants to merge 7 commits intolangchain-ai:mainfrom
Conversation
|
Thanks for opening a docs PR, Mythacker (@h2cker)! When it's ready for review, please add the relevant reviewers:
|
❌ Import check failedThis PR contains imports from Detailed issuesWhy this is a problemThe
How to fixReplace the imports as suggested above. For example:
🤖 Automated checkThis check is based on the latest analysis of |
Updated the description and installation instructions for vecr-compress. Added details on question-aware scoring and custom retention rules.
|
Naomi Pentrel (@npentrel) Lauren Hirata Singh (@lnhsingh) — ready for review when you have a moment. Quick context: What this adds Why it's low-risk to review
What it does in one line CI
Happy to iterate on wording, rename the page, or trim the advanced-usage sections if you'd prefer a shorter page. Thanks! |
Summary
vecr-compress is an open-source LLM context compressor that provides a deterministic retention contract: order IDs, dates, URLs, emails, and code references are pinned by an auditable regex whitelist before any token-budget packing runs. This PR adds a provider page for the
langchain-vecr-compresspartner package undersrc/oss/integrations/providers/, so users can discover it via the official integrations index.What this PR adds
src/oss/integrations/providers/vecr-compress.mdxlisting thelangchain-vecr-compresspartner package, install instructions, and a minimal usage example.Partner package
Why this belongs in LangChain docs
langchain_core—VecrContextCompressorround-tripsHumanMessage/SystemMessage/AIMessageincludingAIMessage.tool_callsvia Anthropic-styletool_usecontent blocks.How to test