Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guardrails/validator_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def validate_stream(
return validation_result

def _hub_inference_request(
self, request_body: dict, validation_endpoint: str
self, request_body: Union[dict, str], validation_endpoint: str
) -> Any:
"""Makes a request to the Validator Hub to run a ML based validation
model. This request is authed through the hub and rerouted to a hosted
Expand Down