pub struct GroundingSupportBuilder(/* private fields */);Expand description
Builder for GroundingSupport.
Implementations§
Source§impl GroundingSupportBuilder
impl GroundingSupportBuilder
pub fn grounding_chunk_indices(self, value: impl Into<Vec<i64>>) -> Self
pub fn confidence_scores(self, value: impl Into<Vec<f64>>) -> Self
pub fn rendered_parts(self, value: impl Into<Vec<i64>>) -> Self
pub fn segment(self, value: impl Into<Segment>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> GroundingSupport
pub fn build(self) -> GroundingSupport
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for GroundingSupportBuilder
impl RefUnwindSafe for GroundingSupportBuilder
impl Send for GroundingSupportBuilder
impl Sync for GroundingSupportBuilder
impl Unpin for GroundingSupportBuilder
impl UnsafeUnpin for GroundingSupportBuilder
impl UnwindSafe for GroundingSupportBuilder
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