pub struct TesterPlan {
pub assistant: Option<CreateAssistantDto>,
pub assistant_id: Option<String>,
pub assistant_overrides: Option<AssistantOverrides>,
}
Fields§
§assistant: Option<CreateAssistantDto>
Pass a transient assistant to use for the test assistant. Make sure to write a detailed system prompt for a test assistant, and use the {{test.script}} variable to access the test script.
assistant_id: Option<String>
Pass an assistant id that can be access Make sure to write a detailed system prompt for the test assistant, and use the {{test.script}} variable to access the test script.
assistant_overrides: Option<AssistantOverrides>
Add any assistant overrides to the test assistant. One use case is if you want to pass custom variables into the test using variableValues, that you can then access in the script and rubric using {{varName}}.
Implementations§
Source§impl TesterPlan
impl TesterPlan
pub fn new() -> TesterPlan
Trait Implementations§
Source§impl Clone for TesterPlan
impl Clone for TesterPlan
Source§fn clone(&self) -> TesterPlan
fn clone(&self) -> TesterPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TesterPlan
impl Debug for TesterPlan
Source§impl Default for TesterPlan
impl Default for TesterPlan
Source§fn default() -> TesterPlan
fn default() -> TesterPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TesterPlan
impl<'de> Deserialize<'de> for TesterPlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TesterPlan
impl PartialEq for TesterPlan
Source§impl Serialize for TesterPlan
impl Serialize for TesterPlan
impl StructuralPartialEq for TesterPlan
Auto Trait Implementations§
impl Freeze for TesterPlan
impl RefUnwindSafe for TesterPlan
impl Send for TesterPlan
impl Sync for TesterPlan
impl Unpin for TesterPlan
impl UnwindSafe for TesterPlan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more