Skip to content

Conversation

@rbs333
Copy link
Collaborator

@rbs333 rbs333 commented Jan 9, 2026

Pass through dtype when creating from dict (do this in ret-opt)

Copilot AI review requested due to automatic review settings January 9, 2026 19:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the vectorizer_from_dict function to properly pass through the dtype parameter when creating vectorizers from dictionary configurations. The changes also clean up an unused parameter from the function signature.

  • Adds dtype parameter extraction from vectorizer configuration dictionaries with a default value of "float32"
  • Passes dtype to all vectorizer constructors, enabling proper data type configuration
  • Removes the unused cache_folder parameter from the function signature

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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