Fix python classification example#487
Conversation
Argument was mssing from classifier function
There was a problem hiding this comment.
PR Summary
Added missing engine parameter to the classifier function example in README.md to properly demonstrate how to use the classification functionality with AsyncEmbeddingEngine.
- Fixed code example in README.md by adding required
engineparameter toclassifier()function signature - Aligns documentation with actual implementation requirements for classification operations
- Improves clarity for users implementing text classification with infinity
💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #487 +/- ##
==========================================
+ Coverage 79.48% 79.54% +0.05%
==========================================
Files 41 41
Lines 3422 3422
==========================================
+ Hits 2720 2722 +2
+ Misses 702 700 -2 ☔ View full report in Codecov by Sentry. |
|
Thanks for the quick fix! |
Argument was missing from the classifier function
Related Issue
None
-->
Checklist
Additional Notes
Only the documentation was edited.