pub struct Decisions {
pub answers: BTreeMap<String, Answer>,
pub model: String,
pub usage: Option<Usage>,
}Expand description
Jev’s answers to one batched evaluation.
Fields§
§answers: BTreeMap<String, Answer>One answer per question id, keyed exactly as asked.
model: StringThe model id the provider reports having used.
usage: Option<Usage>Token accounting when the provider reports it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Decisions
impl RefUnwindSafe for Decisions
impl Send for Decisions
impl Sync for Decisions
impl Unpin for Decisions
impl UnsafeUnpin for Decisions
impl UnwindSafe for Decisions
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