deepset-ai / deepset-ai/deepset-cloud-sdk

Add an optional limit to downloaded files

Open
#113 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature:downalods
Dominant language
Python
Stars
16
Forks
5
PR merge metrics
No merged PRs in 30d

Description

User Story
The current implementation of download files (which is already really nice to have) always downloads a whole corpus. Though sometimes one wants to download just a smaller sample of the corpus to do experiments with. Therefore it would be nice to have the option to set a maximum amount of files to download.

Behaviour:
CLI:

deepset-cloud download --limit 100

SDK

download(limit=100) 

to download just a subset of files

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing download CLI command and SDK download entry point. Trace how files are selected and verify how both interfaces pass options through. Done means --limit 100 and download(limit=100) each download no more than 100 files while preserving the current behavior when no limit is provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.