Skip to main content

windmill_api/models/
scorer_defaults_200_response.rs

1/*
2 * Windmill API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.796.0
7 * Contact: contact@windmill.dev
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ScorerDefaults200Response {
16    /// The system prompt a judge agent is created with.
17    #[serde(rename = "judge_prompt")]
18    pub judge_prompt: String,
19    #[serde(rename = "script_template")]
20    pub script_template: String,
21}
22
23impl ScorerDefaults200Response {
24    pub fn new(judge_prompt: String, script_template: String) -> ScorerDefaults200Response {
25        ScorerDefaults200Response {
26            judge_prompt,
27            script_template,
28        }
29    }
30}
31