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

Update generated code for fixing Collection Model's dimension error #144

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

rohanshah18
Copy link
Contributor

Problem

Vector dimension should be 20,000 but CollectionModel's docstring has 2,000.

Solution

Generate code using the following commands with the updated openapi spec 2024-07.

git submodule init && git submodule update
./codegen/build-oas.sh 2024-07

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Test Plan

NA

@@ -199,7 +199,7 @@ public CollectionModel dimension(Integer dimension) {
/**
* The dimension of the vectors stored in each record held in the collection.
* minimum: 1
* maximum: 2000
* maximum: 20000
Copy link
Contributor Author

Choose a reason for hiding this comment

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

2,000 is now updated to 20,000

@rohanshah18 rohanshah18 marked this pull request as ready for review July 18, 2024 20:42
Copy link
Contributor

@austin-denoble austin-denoble left a comment

Choose a reason for hiding this comment

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

🚢

@rohanshah18 rohanshah18 merged commit ebb0fc9 into main Jul 18, 2024
8 checks passed
@rohanshah18 rohanshah18 deleted the release-candidate/2024-07 branch July 18, 2024 21:07
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