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

community : allow using apikey for PubMedAPIWrapper #27246

Merged
merged 7 commits into from
Dec 4, 2024

Conversation

peterdhp
Copy link
Contributor

@peterdhp peterdhp commented Oct 10, 2024

Description:

Without an API key, any site (IP address) posting more than 3 requests per second to the E-utilities will receive an error message. By including an API key, a site can post up to 10 requests per second by default.

quoted from A General Introduction to the E-utilities,NCBI : https://www.ncbi.nlm.nih.gov/books/NBK25497/

I have simply added a api_key parameter to the PubMedAPIWrapper that can be used to increase the number of requests per second from 3 to 10.

Twitter handle : @KORmaori

Copy link

vercel bot commented Oct 10, 2024

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

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2024 0:27am

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. community Related to langchain-community labels Oct 10, 2024
@peterdhp
Copy link
Contributor Author

It seems that my pull request hasn’t been reviewed yet. As per the instructions, I’m reaching out to mention one of the maintainers for assistance.
@eyurtsev, would you be able to take a look when you have a chance? Thank you for your time!

Best regards,
Dohoon Park

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Oct 16, 2024
Copy link

vercel bot commented Oct 16, 2024

Deployment failed with the following error:

The provided GitHub repository does not contain the requested branch or commit reference. Please ensure the repository is not empty.

@efriis efriis enabled auto-merge (squash) October 16, 2024 01:46
@efriis efriis disabled auto-merge October 16, 2024 01:47
@efriis efriis self-assigned this Oct 16, 2024
@efriis
Copy link
Member

efriis commented Oct 16, 2024

something going on with vercel build will take a look later

@peterdhp
Copy link
Contributor Author

thank you! let me know if I can help in any way.

@efriis efriis enabled auto-merge (squash) November 7, 2024 03:03
@efriis efriis disabled auto-merge December 4, 2024 00:21
@efriis efriis merged commit bc5ec63 into langchain-ai:master Dec 4, 2024
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Related to langchain-community lgtm PR looks good. Use to confirm that a PR is ready for merging. size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants