diff --git a/async-openai/src/types/chat/chat_.rs b/async-openai/src/types/chat/chat_.rs index 42aacdcca..a54013c5a 100644 --- a/async-openai/src/types/chat/chat_.rs +++ b/async-openai/src/types/chat/chat_.rs @@ -203,14 +203,14 @@ pub struct FileObject { /// The base64 encoded file data, used when passing the file to the model /// as a string. #[serde(skip_serializing_if = "Option::is_none")] - file_data: Option, + pub file_data: Option, /// The ID of an uploaded file to use as input. #[serde(skip_serializing_if = "Option::is_none")] - file_id: Option, + pub file_id: Option, /// The name of the file, used when passing the file to the model as a /// string. #[serde(skip_serializing_if = "Option::is_none")] - filename: Option, + pub filename: Option, } #[derive(Debug, Serialize, Deserialize, Default, Clone, PartialEq)]