Skip to content

Conversation

@bsbodden
Copy link
Collaborator

Add containsDouble(), containsLong(), and containsInt() methods to NumericField class to enable array membership queries similar to TagField.in() functionality. These methods allow users to query for entities where numeric array fields contain any of the specified values using EntityStream.

Resolves #400

Add containsDouble(), containsLong(), and containsInt() methods to NumericField
class to enable array membership queries similar to TagField.in() functionality.
These methods allow users to query for entities where numeric array fields
contain any of the specified values using EntityStream.

Resolves redis#400
network restrictions when downloading HuggingFace models. Since our test for
issue redis#400 does not require AI functionality, we disable it to prevent the
ApplicationContext initialization failure.
@bsbodden bsbodden self-assigned this Jul 23, 2025
Enhanced the AIRedisConfiguration to properly handle HuggingFace tokenizer
initialization in CI/offline environments by:

1. Bundling the tokenizer.json file for msmarco-distilbert-dot-v5 in resources
2. Implementing fallback logic to try local resources first, then remote download
3. Improving error handling and logging for tokenizer initialization
4. Removing test-specific CI workarounds in favor of comprehensive solution

This addresses the root cause of CI test failures where network restrictions
prevent HuggingFace tokenizer downloads, ensuring all tests can run reliably
in both local and CI environments.
@bsbodden bsbodden merged commit 727c3f9 into redis:main Jul 23, 2025
1 check passed
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.

Add checking the array has a specific number on NumericField class

1 participant