Skip to main content

ChatStreamItem

Type Alias ChatStreamItem 

Source
pub type ChatStreamItem = Result<ChatStream, DeepSeekError>;
Expand description

Stream item produced by chat streaming.

Aliased Type§

pub enum ChatStreamItem {
    Ok(ChatGeneric<ChatChoiceStream>),
    Err(DeepSeekError),
}

Variants§

§1.0.0

Ok(ChatGeneric<ChatChoiceStream>)

Contains the success value

§1.0.0

Err(DeepSeekError)

Contains the error value