Dashscope

Type Alias Dashscope 

Source
pub type Dashscope = GenericOpenAI<DashscopeConfig>;
Available on crate feature dashscope only.

Aliased Type§

pub struct Dashscope {
    pub stream_full: bool,
    /* private fields */
}

Fields§

§stream_full: bool

Convenience option to stream the full response. Defaults to true, because nobody has time to reconstruct the delta. Disabling this will make the streamed content only return the delta, for when performance matters. This only has effect when streaming is enabled.

Implementations§

Trait Implementations§

Source§

impl Default for Dashscope

Source§

fn default() -> Self

Returns the “default value” for a type. Read more