pub struct EvalItem {
pub role: String,
pub content: EvalItem_Content,
pub type: Option<String>,
}
Expand description
A message input to the model with a role indicating instruction following hierarchy.
Fields§
§role: String
The role of the message input.
content: EvalItem_Content
§type: Option<String>
The type of the message input.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EvalItem
impl RefUnwindSafe for EvalItem
impl Send for EvalItem
impl Sync for EvalItem
impl Unpin for EvalItem
impl UnwindSafe for EvalItem
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