feat: add optional You.com search integration - #165
Open
mouse-value-add wants to merge 2 commits into
Open
Conversation
- Add YouCom as a new literature source alongside alphaXiv, OpenAlex, and bioRxiv - Integrate You.com web search API for current research and broader context - Optional integration via YDC_API_KEY environment variable (falls back to keyless API) - Consistent with existing CLI interface: orx lit --source youcom <query> - Web results mapped to LitHit format for uniform JSON output - Added handling for You.com URLs in paper command This enables researchers to search current web content and recent developments alongside traditional academic sources, particularly useful for: - Recent research developments not yet in academic indexes - Industry research and blog posts - Broader context around research topics - Current discussions in ML/AI community
…subcommands Resolves the conflict with the literature-command refactor: You.com is now a "discover youcom" subcommand (matching Keyword/Embedding/Openalex/ Biorxiv) instead of a "lit --source" flag. Also removes an accidentally-committed rustup installer script and local test notes. Verified: cargo build, cargo test (690 passed), and a live smoke test of "orx discover youcom" against the keyless endpoint returning real results.
Author
|
Resolved the conflict with the recent literature-command refactor and rebased the integration onto the new architecture (0fde75b):
Verified on the branch: The integration stays fully opt-in: it only runs when explicitly invoked as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add You.com web search as an optional literature source alongside existing alphaXiv, OpenAlex, and bioRxiv sources.
What Changed
--source youcomfor web search capabilityYDC_API_KEYorx lit --source youcom <query>LitHitformat for consistent JSON outputWhy Useful
Research often requires context beyond traditional academic papers:
Usage Examples
Environment Setup
Integration Quality
Technical Details
reqwestHTTP client (already in dependencies)The integration is designed to complement, not replace, existing academic sources. It provides researchers with access to current web content while maintaining the same familiar interface.
Tracking
Related to issue: youdotcom-oss/integration-tracking#175