pub struct DetokenizeRequest<'input> {
pub tokens: &'input [u64],
pub model: Option<GenerateModel>,
}
Fields§
§tokens: &'input [u64]
The tokens to be detokenized
model: Option<GenerateModel>
optional - The model to use for detokenization. Custom models can also be supplied with their full ID.
Trait Implementations§
Source§impl<'input> Debug for DetokenizeRequest<'input>
impl<'input> Debug for DetokenizeRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for DetokenizeRequest<'input>
impl<'input> RefUnwindSafe for DetokenizeRequest<'input>
impl<'input> Send for DetokenizeRequest<'input>
impl<'input> Sync for DetokenizeRequest<'input>
impl<'input> Unpin for DetokenizeRequest<'input>
impl<'input> UnwindSafe for DetokenizeRequest<'input>
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