-
Notifications
You must be signed in to change notification settings - Fork 103
feat: add taskType parameter to google vectorizer #1900
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
Conversation
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.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1900 +/- ##
=======================================
Coverage 86.55% 86.56%
=======================================
Files 273 273
Lines 19769 19778 +9
=======================================
+ Hits 17112 17121 +9
Misses 2657 2657 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
dirkkul
left a comment
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.
Feel free to ignore
| modelId: Optional[str] | ||
| vectorizeClassName: bool | ||
| titleProperty: Optional[str] | ||
| taskType: Optional[str] |
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.
you can set a default here with taskType: Optional[str] = None and then you don't have to set it for every config manually :)
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.
Yeah that makes sense. I do see one benefit of this which is that the default is visible on the tooltip.
I'll leave it for now, but add a todo comment to consider making this change, since the whole file is like this.
feat: add taskType parameter to google vectorizer