pub struct StreamingVerifierConfig {
pub enabled: bool,
pub min_sentence_chars: usize,
pub replacement_message: String,
pub verifier_config: HallucinationVerifierConfig,
}Expand description
ストリーミング検証設定。
Fields§
§enabled: boolストリーミング検証を有効にするか。
min_sentence_chars: usize文境界の最小文字数 (極端に短い助詞などの細切れ分割を抑止、デフォルト: 6)。
replacement_message: Stringエラー置換メッセージ。
verifier_config: HallucinationVerifierConfigハルシネーション検証設定。
Trait Implementations§
Source§impl Clone for StreamingVerifierConfig
impl Clone for StreamingVerifierConfig
Source§fn clone(&self) -> StreamingVerifierConfig
fn clone(&self) -> StreamingVerifierConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamingVerifierConfig
impl Debug for StreamingVerifierConfig
Source§impl Default for StreamingVerifierConfig
impl Default for StreamingVerifierConfig
Source§impl PartialEq for StreamingVerifierConfig
impl PartialEq for StreamingVerifierConfig
impl StructuralPartialEq for StreamingVerifierConfig
Auto Trait Implementations§
impl Freeze for StreamingVerifierConfig
impl RefUnwindSafe for StreamingVerifierConfig
impl Send for StreamingVerifierConfig
impl Sync for StreamingVerifierConfig
impl Unpin for StreamingVerifierConfig
impl UnsafeUnpin for StreamingVerifierConfig
impl UnwindSafe for StreamingVerifierConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more