Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Google Scholar Integration #7278

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Conversation

xnnxnyx
Copy link

@xnnxnyx xnnxnyx commented Nov 26, 2024

Description:
This PR is to integrate Google Scholar functionality into the LangChain JS version, similar to the existing implementation in Python. This will provide tools for querying Google Scholar and handling the results efficiently within the JavaScript ecosystem.

Issue # 7078

Sample Output:

Search Results: [
  {
    "title": "Machine learning algorithms-a review",
    "link": "https://www.researchgate.net/profile/Batta-Mahesh/publication/344717762_Machine_Learning_Algorithms_-A_Review/links/5f8b2365299bf1b53e2d243a/Machine-Learning-Algorithms-A-Review.pdf?eid=5082902844932096t",
    "snippet": "… Here‟sa quick look at some of the commonly used algorithms in machine learning (ML) Supervised Learning Supervised learning is the machine learning task of learning a function …",
    "publication_info": "International Journal of Science and Research (IJSR) …, 2020 - researchgate.net",
    "authors": "",
    "total_citations": 3511
  },
  {
    "title": "Machine learning",
    "link": "https://books.google.com/books?hl=en&lr=&id=2nQJEAAAQBAJ&oi=fnd&pg=PR7&dq=Machine+Learning&ots=fI04V6ZGlo&sig=2yQM3B3GFmiBmM1u03EFKfTsQ7I",
    "snippet": "MIT presents a concise primer on machine learning—computer programs that learn from data and the basis of applications like voice recognition and driverless cars. No in-depth …",
    "publication_info": "2021 - books.google.com",
    "authors": "E Alpaydin",
    "total_citations": 1155
  },
  {
    "title": "Machine learning",
    "link": "https://books.google.com/books?hl=en&lr=&id=ctM-EAAAQBAJ&oi=fnd&pg=PR6&dq=Machine+Learning&ots=o_LjZ4Wz0o&sig=xnCjg2k2aj1DVlo87V2Q6iUXS0w",
    "snippet": "… machine learning. The second part includes Chapters 4–10, which presents some classic and popular machine learning … cover the core topics of machine learning in one semester, and …",
    "publication_info": "2021 - books.google.com",
    "authors": "ZH Zhou",
    "total_citations": 2734
  },
  {
    "title": "Machine learning: Trends, perspectives, and prospects",
    "link": "https://www.science.org/doi/abs/10.1126/science.aaa8415",
    "snippet": "… Machine learning addresses the question of how to build computers that improve … Recent progress in machine learning has been driven both by the development of new learning …",
    "publication_info": "Science, 2015 - science.org",
    "authors": "MI Jordan, TM Mitchell",
    "total_citations": 10150
  }
]

Copy link

vercel bot commented Nov 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview Nov 26, 2024 11:08pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) Nov 26, 2024 11:08pm

@xnnxnyx xnnxnyx marked this pull request as ready for review November 26, 2024 22:57
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder auto:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features labels Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder auto:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant