-
Notifications
You must be signed in to change notification settings - Fork 139
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
Regen REST model for StrictModeConfig output type #916
base: dev
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for poetic-froyo-8baba7 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -2697,14 +2768,69 @@ class StrictModeConfig(BaseModel, extra="forbid"): | |||
sparse_config: Optional["StrictModeSparseConfig"] = Field(default=None, description="Sparse vector configuration") | |||
|
|||
|
|||
class StrictModeConfigOutput(BaseModel): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no extra="forbid"
class StrictModeMultivector(BaseModel, extra="forbid"): | ||
max_vectors: Optional[int] = Field(default=None, description="Max number of vectors in a multivector") | ||
|
||
|
||
class StrictModeMultivectorOutput(BaseModel): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no extra="forbid"
class StrictModeSparse(BaseModel, extra="forbid"): | ||
max_length: Optional[int] = Field(default=None, description="Max length of sparse vector") | ||
|
||
|
||
class StrictModeSparseOutput(BaseModel): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no extra="forbid"
39aed3c
to
260ecca
Compare
260ecca
to
a633e61
Compare
@@ -6,7 +6,7 @@ PROJECT_ROOT="$(pwd)/$(dirname "$0")/../" | |||
|
|||
cd $(mktemp -d) | |||
|
|||
git clone --sparse --filter=blob:none --depth=1 -b dev git@github.com:qdrant/qdrant.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO revert once core PR merged in dev
I can't even run that inspection script locally.
Here is the flamegraph. |
I might have a fix for it in #919 Will rebase this one if it works out 🤞 |
Regen REST client for new
StrictModeConfig
output typesqdrant/qdrant#6114