openai_struct/models/eval_responses_source.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/// pub EvalResponsesSource : A EvalResponsesSource object describing a run data source configuration.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct EvalResponsesSource {
18 /// Whether to allow parallel tool calls. This is a query parameter used to select responses.
19 #[serde(rename = "allow_parallel_tool_calls")]
20 pub allow_parallel_tool_calls: Option<bool>,
21 /// Only include items created after this timestamp (inclusive). This is a query parameter used to select responses.
22 #[serde(rename = "created_after")]
23 pub created_after: Option<i32>,
24 /// Only include items created before this timestamp (inclusive). This is a query parameter used to select responses.
25 #[serde(rename = "created_before")]
26 pub created_before: Option<i32>,
27 /// Whether the response has tool calls. This is a query parameter used to select responses.
28 #[serde(rename = "has_tool_calls")]
29 pub has_tool_calls: Option<bool>,
30 /// Optional search string for instructions. This is a query parameter used to select responses.
31 #[serde(rename = "instructions_search")]
32 pub instructions_search: Option<String>,
33 /// Metadata filter for the responses. This is a query parameter used to select responses.
34 #[serde(rename = "metadata")]
35 pub metadata: Option<Value>,
36 /// The name of the model to find responses for. This is a query parameter used to select responses.
37 #[serde(rename = "model")]
38 pub model: Option<String>,
39 /// Optional reasoning effort parameter. This is a query parameter used to select responses.
40 #[serde(rename = "reasoning_effort")]
41 pub reasoning_effort: Option<crate::models::ReasoningEffort>,
42 /// Sampling temperature. This is a query parameter used to select responses.
43 #[serde(rename = "temperature")]
44 pub temperature: Option<f32>,
45 /// Nucleus sampling parameter. This is a query parameter used to select responses.
46 #[serde(rename = "top_p")]
47 pub top_p: Option<f32>,
48 /// The type of run data source. Always `responses`.
49 #[serde(rename = "type")]
50 pub _type: String,
51 /// List of user identifiers. This is a query parameter used to select responses.
52 #[serde(rename = "users")]
53 pub users: Option<Vec<String>>,
54}