pub struct Response {
pub model: String,
pub answers: Vec<(String, Answer)>,
pub input_tokens: usize,
}Expand description
The answers to one request.
Fields§
§model: StringThe model that answered.
answers: Vec<(String, Answer)>The answers, in request order.
input_tokens: usizeTokens read over all the request’s sequences.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Response
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnsafeUnpin for Response
impl UnwindSafe for Response
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