pub struct BenchmarkTask {
pub id: String,
pub suite: BenchmarkSuite,
pub difficulty_level: Option<u8>,
pub question: String,
pub expected_answer: Option<String>,
pub context_files: Vec<String>,
}Expand description
A single task loaded from a benchmark dataset.
Fields§
§id: String§suite: BenchmarkSuite§difficulty_level: Option<u8>Task difficulty level as defined by the benchmark (e.g. GAIA levels 1/2/3).
question: StringNatural language task description.
expected_answer: Option<String>Expected final answer.
context_files: Vec<String>Any file attachments or context references.
Trait Implementations§
Source§impl Clone for BenchmarkTask
impl Clone for BenchmarkTask
Source§fn clone(&self) -> BenchmarkTask
fn clone(&self) -> BenchmarkTask
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BenchmarkTask
impl Debug for BenchmarkTask
Source§impl<'de> Deserialize<'de> for BenchmarkTask
impl<'de> Deserialize<'de> for BenchmarkTask
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
Auto Trait Implementations§
impl Freeze for BenchmarkTask
impl RefUnwindSafe for BenchmarkTask
impl Send for BenchmarkTask
impl Sync for BenchmarkTask
impl Unpin for BenchmarkTask
impl UnsafeUnpin for BenchmarkTask
impl UnwindSafe for BenchmarkTask
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