nemo_relay.scope_local
nemo_relay.scope_local
Generated from python/nemo_relay/scope_local.py.
Module nemo_relay.scope_local.
Scope-local middleware and subscriber registration.
Functions
register_tool_sanitize_request
Register a scope-local tool sanitize-request guardrail.
deregister_tool_sanitize_request
Remove a scope-local tool sanitize-request guardrail.
register_tool_sanitize_response
Register a scope-local tool sanitize-response guardrail.
deregister_tool_sanitize_response
Remove a scope-local tool sanitize-response guardrail.
register_tool_conditional_execution
Register a scope-local tool conditional-execution guardrail.
deregister_tool_conditional_execution
Remove a scope-local tool conditional-execution guardrail.
register_tool_request
Register a scope-local tool request intercept.
deregister_tool_request
Remove a scope-local tool request intercept.
register_tool_execution
Register scope-local middleware around tool execution.
deregister_tool_execution
Remove a scope-local tool execution intercept.
register_llm_sanitize_request
Register a scope-local LLM sanitize-request guardrail.
deregister_llm_sanitize_request
Remove a scope-local LLM sanitize-request guardrail.
register_llm_sanitize_response
Register a scope-local LLM sanitize-response guardrail.
deregister_llm_sanitize_response
Remove a scope-local LLM sanitize-response guardrail.
register_llm_conditional_execution
Register a scope-local LLM conditional-execution guardrail.
deregister_llm_conditional_execution
Remove a scope-local LLM conditional-execution guardrail.
register_llm_request
Register a scope-local LLM request intercept.
deregister_llm_request
Remove a scope-local LLM request intercept.
register_llm_execution
Register scope-local middleware around non-streaming LLM execution.
deregister_llm_execution
Remove a scope-local LLM execution intercept.
register_llm_stream_execution
Register scope-local middleware around streaming LLM execution.
deregister_llm_stream_execution
Remove a scope-local streaming LLM execution intercept.
register_subscriber
Register an event subscriber that is active only for scope_handle.
deregister_subscriber
Remove a scope-local event subscriber.