allenai / s2-folks

Public space for the user community of Semantic Scholar APIs to share scripts, report issues, and make suggestions.
Other
144 stars 25 forks source link

Q: what is the input limit for recommendations based on multiple papers #153

Closed renespijker closed 5 months ago

renespijker commented 8 months ago

Wait! 🤚 Before creating this issue, please read carefully: We want to enable our partners (that's you) to succeed, but our team has limited bandwidth for answering your questions. In order to help us help you more efficiently, kindly spend 2 minutes to check:

... it's OK if you missed something and end up asking something we addressed before, but we might tease you about it a little bit 😉

We're committed to taking action on your issue within 7 days and responding within 10 days. If you don't get a response within 10 days, If we don't address your question in 7 days, please post it on slack to bring our attention to it.

renespijker commented 8 months ago

Q: I'm looking at the recommendation API (https://api.semanticscholar.org/api-docs/recommendations) for a list of papers. It is working but somehow I can not find what the maximum input papers are (experimentally im running against a limit around 100 papers after which I get an error 400 code returned. At fist I though I could use the limit code to change this but that is only for the number of output documents. As I'm trying this out for building a continuous updating repository I was wondering how to go about this when the number of documents in the repository exceeds 100?

cfiorelli commented 8 months ago

Moving to Backend to triage

cfiorelli commented 5 months ago

@renespijker Could you confirm you're still running into this 100 input ceiling? I'm taking a look to identify input limits which seem to be quite a bit higher than this - but i'm still digging to understand this part of our structure