openai-client-base 0.16.0

Auto-generated Rust client for the OpenAI API
/*
 * OpenAI API
 *
 * The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.
 *
 * The version of the OpenAPI document: 2.3.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// BetaResponseAllOfInstructions : A system (or developer) message inserted into the model's context.  When using along with `previous_response_id`, the instructions from a previous response will not be carried over to the next response. This makes it simple to swap out system (or developer) messages in new responses.
/// A system (or developer) message inserted into the model's context.  When using along with `previous_response_id`, the instructions from a previous response will not be carried over to the next response. This makes it simple to swap out system (or developer) messages in new responses.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum BetaResponseAllOfInstructions {
    BetaEasyInputMessage(Box<models::BetaEasyInputMessage>),
    BetaItem(Box<models::BetaItem>),
    BetaCompactionTriggerItemParam(Box<models::BetaCompactionTriggerItemParam>),
    BetaItemReferenceParam(Box<models::BetaItemReferenceParam>),
    BetaProgramItemParam(Box<models::BetaProgramItemParam>),
    BetaProgramOutputItemParam(Box<models::BetaProgramOutputItemParam>),
}