Struct OpenAI Stream Invocation

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub struct OpenAiStreamInvocation {
    pub runtime_context: RuntimeContext,
    pub request: AgentRunRequest,
    pub stream: OpenAiStreamSink,
}

One adapter-native OpenAI streaming invocation.

Fields

runtime_context: RuntimeContext

Invocation context generated by NeMo Fabric.

request: AgentRunRequest

Typed caller request for this invocation.

stream: OpenAiStreamSink

Authenticated progressive-output sink for this invocation.

Trait Implementations

impl Clone for OpenAiStreamInvocation

impl Clone for OpenAiStreamInvocation

clone

fn clone(&self) -> OpenAiStreamInvocation

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for OpenAiStreamInvocation

impl Debug for OpenAiStreamInvocation

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for OpenAiStreamInvocation

impl<'de> Deserialize<'de> for OpenAiStreamInvocation

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl JsonSchema for OpenAiStreamInvocation

impl JsonSchema for OpenAiStreamInvocation

schema_name

fn schema_name() -> Cow<'static, str>

schema_id

fn schema_id() -> Cow<'static, str>

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

inline_schema

fn inline_schema() -> bool

impl PartialEq for OpenAiStreamInvocation

impl PartialEq for OpenAiStreamInvocation

eq

fn eq(&self, other: &OpenAiStreamInvocation) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for OpenAiStreamInvocation

impl Serialize for OpenAiStreamInvocation

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for OpenAiStreamInvocation

impl StructuralPartialEq for OpenAiStreamInvocation