Version: 0.0.4
agrag.common.validation
Validation helpers shared across storage backends.
Functions:
- require_encrypted_remote_connection – Reject a plaintext connection to a non-local host carrying a credential.
- require_positive_batch_size – Check that a backend write's
batch_sizeis usable. - require_positive_max_concurrency – Check that a concurrency limit is positive.
- require_valid_alpha – Check that a
hybrid_searchalphais a valid dense/keyword weight. - require_valid_search_limit – Check that a search/hybrid_search
limitis usable across every backend.
Attributes: