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 Vector Store File List properties that allow for pagination #891

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

MattDavisRV
Copy link
Contributor

Describe the change

This change adds pagniation properties for listing Vector Store Files. A vector store can handle up to 10,000 files at the time of this PR and a max of 100 files can be returned per request.

Provide OpenAI documentation link

It's not specifically outlined in the documentation, however, the example response has these fields listed.

https://platform.openai.com/docs/api-reference/vector-stores-files/listFiles

Describe your solution

Added the missing properties that are returned from the API request.

Copy link

codecov bot commented Nov 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.86%. Comparing base (774fc9d) to head (008f597).
Report is 69 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #891      +/-   ##
==========================================
+ Coverage   98.46%   98.86%   +0.40%     
==========================================
  Files          24       26       +2     
  Lines        1364     1761     +397     
==========================================
+ Hits         1343     1741     +398     
+ Misses         15       14       -1     
  Partials        6        6              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@sashabaranov sashabaranov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR

@sashabaranov sashabaranov merged commit f5e6e0e into sashabaranov:master Nov 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants