openai-interface 0.6.0

A low-level Rust interface for the OpenAI API
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::Deserialize;

#[derive(Debug, Deserialize, Clone)]
pub struct ListFilesResponse {
    pub data: Vec<crate::files::FileObject>,
    pub has_more: bool,
    pub object: Option<String>,
}

crate::impl_from_str!(ListFilesResponse);