SOME TEXT BEFORE
// uploadFileCreateRequest creates the UploadFile request.
func (client *Client) uploadFileCreateRequest(ctx context.Context, file string, purpose FilePurpose, options *UploadFileOptions) (*policy.Request, error) {
	urlPath := client.formatURL("/files")
	req, err := runtime.NewRequest(ctx, http.MethodPost, runtime.JoinPaths(client.endpoint, urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header["Accept"] = []string{"application/json"}
	if err := runtime.SetMultipartFormData(req, map[string]any{
		"file":     file,
		"purpose":  purpose,
		"Filename": options.Filename,
	}); err != nil {
		return nil, err
	}
	return req, nil
}
// uploadFileHandleResponse handles the UploadFile response.
func (client *Client) uploadFileHandleResponse() error {
    // another little function
}
