rs_openai 0.5.0

The OpenAI Rust library provides convenient access to the OpenAI API from Rust applications.
Documentation
1
2
3
4
5
6
7
pub fn is_stream(stream: Option<bool>) -> bool {
    if stream.is_some() && stream.unwrap() {
        return true;
    }

    false
}