nemoguardrails.server.experimental.providers.openai.responses.stream_projection
nemoguardrails.server.experimental.providers.openai.responses.stream_projection
Typed Responses SSE shapes; protocol ordering belongs to stream hooks.
Module Contents
Classes
API
Bases: ResponsesLifecycleEventProjection
Successful native completion carries a final verified snapshot.
Bases: ResponsesTextEventProjection
A reviewed text part snapshot, including its initial empty state.
Bases: ResponsesEventProjection
A provider error is terminal diagnostic data, not assistant output.
Bases: PolicyModel
Validate sequence numbers when supplied, without requiring unrelated metadata.
Bases: ResponsesLifecycleEventProjection
Failure may still contain text and therefore remains a checked snapshot.
Bases: ResponsesLifecycleEventProjection
An incomplete response is terminal, but its partial text is not opaque.
Bases: ResponsesEventProjection
Track an output position without assuming reasoning always precedes text.
Bases: ResponsesEventProjection
Share the response snapshot field, not its concrete event identity.
Bases: PolicyModel, GuardedContentModel
Describe a full response snapshot without demanding a message before generation.
Bases: ResponsesIndexedEventProjection
The assistant item is a snapshot, not opaque output.
Bases: ResponsesIndexedEventProjection
The completed assistant item must agree with previously observed deltas.
Bases: ResponsesLifecycleEventProjection
Queue metadata does not make background execution an accepted request mode.
Bases: ResponsesIndexedEventProjection
Allow only the reviewed, non-plaintext reasoning item.
Bases: ResponsesIndexedEventProjection
Preserve completed reasoning metadata without inspecting encrypted values.
Bases: ResponsesAssistantMessageProjection
Allow an initially empty message, but never a second guarded text part.
Bases: ResponsesOutputTextProjection
An empty initial text snapshot is valid; annotations and logprobs stay restricted.
Bases: ResponsesTextEventProjection
Only this event introduces new guarded assistant text.
Bases: ResponsesTextEventProjection
Repeat the accumulated text rather than introducing a second text source.
Bases: ResponsesIndexedEventProjection
Restrict content to the single text part and validate any supplied identity.