#[non_exhaustive]pub enum QuestionType {
Choice,
Noul,
Score,
Multi,
Act,
Tool,
Classify,
Verify,
Compress,
Extract,
}Expand description
A native question type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Choice
Choose one of 2–255 options.
Noul
Probability of “yes”.
Score
Weighted mean of 2–255 ordered levels, indexed from zero.
Multi
Select labels independently (basal-1.5).
Act
Select the action with minimum expected cost (basal-1.5).
Tool
Select a tool or a set of tools without executing them.
Classify
Experimental document classification.
Verify
Experimental claim verification.
Compress
Experimental extractive compression.
Extract
Experimental schema extraction.
Trait Implementations§
Source§impl Clone for QuestionType
impl Clone for QuestionType
impl Copy for QuestionType
Source§impl Debug for QuestionType
impl Debug for QuestionType
Source§impl<'de> Deserialize<'de> for QuestionType
impl<'de> Deserialize<'de> for QuestionType
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 QuestionType
impl RefUnwindSafe for QuestionType
impl Send for QuestionType
impl Sync for QuestionType
impl Unpin for QuestionType
impl UnsafeUnpin for QuestionType
impl UnwindSafe for QuestionType
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