openai_struct/models/
code_interpreter_tool_output.rs

1/*
2 * OpenAI API
3 *
4 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
5 *
6 * OpenAPI spec pub version: 2.3.0
7 *
8 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
9 */
10
11#[allow(unused_imports)]
12use serde_json::Value;
13
14use crate::{CodeInterpreterFileOutput, CodeInterpreterTextOutput};
15
16/// # on openapi.yaml
17///
18/// ```yaml
19/// CodeInterpreterToolOutput:
20///   oneOf:
21///     - $ref: "#/components/schemas/CodeInterpreterTextOutput"
22///     - $ref: "#/components/schemas/CodeInterpreterFileOutput"
23/// ```
24#[derive(Debug, Serialize, Deserialize)]
25pub enum CodeInterpreterToolOutput {
26    TextOutput(CodeInterpreterTextOutput),
27    FileOutput(CodeInterpreterFileOutput),
28}