nemo_relay
nemo_relay
Generated from python/nemo_relay/__init__.pyi.
Module nemo_relay.
Python bindings for the NeMo Relay runtime.
Functions
get_scope_stack
Return the current task’s active scope stack.
scope_stack_active
Report whether the current context already owns a scope stack.
propagate_scope_to_thread
Capture the active scope stack for use in another thread.
create_scope_stack
Create a new isolated scope stack.
set_thread_scope_stack
Install a scope stack into the current thread’s native runtime context.
Type Aliases And Constants
EventJsonJsonObjectJsonPrimitiveJsonValueLlmConditionalExecutionGuardrailLlmExecutionInterceptLlmRequestInterceptLlmSanitizeRequestGuardrailLlmSanitizeResponseGuardrailLlmStreamExecutionInterceptToolConditionalExecutionGuardrailToolExecutionInterceptToolRequestInterceptToolSanitizeGuardrailUnsupportedBehavior
Re-exports
AnnotatedLLMRequestAnnotatedLLMResponseAtifExporterAtofExporterAtofExporterConfigAtofExporterModeLLMAttributesLLMHandleLLMRequestMarkEventOpenInferenceConfigOpenInferenceSubscriberOpenTelemetryConfigOpenTelemetrySubscriberScopeAttributesScopeEventScopeHandleScopeStackScopeTypeToolAttributesToolHandleadaptivecodecsguardrailsinterceptsllmobservabilitypluginscopescope_localsubscriberstoolstyped