pub struct EvalResponsesSource {
pub metadata: Option<HashMap<String, Value>>,
pub model: Option<String>,
pub instructions_search: Option<String>,
pub created_after: Option<u64>,
pub created_before: Option<u64>,
pub has_tool_calls: Option<bool>,
pub reasoning_effort: Option<ReasoningEffort>,
pub temperature: Option<f64>,
pub top_p: Option<f64>,
pub users: Option<Vec<String>>,
pub allow_parallel_tool_calls: Option<bool>,
}
Expand description
A EvalResponsesSource object describing a run data source configuration.
Fields§
§metadata: Option<HashMap<String, Value>>
Metadata filter for the responses. This is a query parameter used to select responses.
model: Option<String>
The name of the model to find responses for. This is a query parameter used to select responses.
instructions_search: Option<String>
Optional search string for instructions. This is a query parameter used to select responses.
created_after: Option<u64>
Only include items created after this timestamp (inclusive). This is a query parameter used to select responses.
created_before: Option<u64>
Only include items created before this timestamp (inclusive). This is a query parameter used to select responses.
has_tool_calls: Option<bool>
Whether the response has tool calls. This is a query parameter used to select responses.
reasoning_effort: Option<ReasoningEffort>
Optional reasoning effort parameter. This is a query parameter used to select responses.
temperature: Option<f64>
Sampling temperature. This is a query parameter used to select responses.
top_p: Option<f64>
Nucleus sampling parameter. This is a query parameter used to select responses.
users: Option<Vec<String>>
List of user identifiers. This is a query parameter used to select responses.
allow_parallel_tool_calls: Option<bool>
Whether to allow parallel tool calls. This is a query parameter used to select responses.
Implementations§
Source§impl EvalResponsesSource
impl EvalResponsesSource
Sourcepub fn builder() -> EvalResponsesSourceBuilder<((), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> EvalResponsesSourceBuilder<((), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building EvalResponsesSource
.
On the builder, call .metadata(...)
(optional), .model(...)
(optional), .instructions_search(...)
(optional), .created_after(...)
(optional), .created_before(...)
(optional), .has_tool_calls(...)
(optional), .reasoning_effort(...)
(optional), .temperature(...)
(optional), .top_p(...)
(optional), .users(...)
(optional), .allow_parallel_tool_calls(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of EvalResponsesSource
.
Trait Implementations§
Source§impl Clone for EvalResponsesSource
impl Clone for EvalResponsesSource
Source§fn clone(&self) -> EvalResponsesSource
fn clone(&self) -> EvalResponsesSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more