pub struct GoogleCloudDialogflowCxV3DataStoreConnectionSignals {
pub answer: Option<String>,
pub answer_generation_model_call_signals: Option<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals>,
pub answer_parts: Option<Vec<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart>>,
pub cited_snippets: Option<Vec<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet>>,
pub grounding_signals: Option<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals>,
pub rewriter_model_call_signals: Option<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals>,
pub rewritten_query: Option<String>,
pub safety_signals: Option<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals>,
pub search_snippets: Option<Vec<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet>>,
}
Expand description
Data store connection feature output signals. Might be only partially field if processing stop before the final answer. Reasons for this can be, but are not limited to: empty UCS search results, positive RAI check outcome, grounding failure, …
This type is not used in any activity, and only used as part of another schema.
Fields§
§answer: Option<String>
Optional. The final compiled answer.
answer_generation_model_call_signals: Option<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals>
Optional. Diagnostic info related to the answer generation model call.
answer_parts: Option<Vec<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart>>
Optional. Answer parts with relevant citations. Concatenation of texts should add up the answer
(not counting whitespaces).
cited_snippets: Option<Vec<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet>>
Optional. Snippets cited by the answer generation model from the most to least relevant.
grounding_signals: Option<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals>
Optional. Grounding signals.
rewriter_model_call_signals: Option<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals>
Optional. Diagnostic info related to the rewriter model call.
rewritten_query: Option<String>
Optional. Rewritten string query used for search.
safety_signals: Option<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals>
Optional. Safety check result.
search_snippets: Option<Vec<GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet>>
Optional. Search snippets included in the answer generation prompt.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
impl Clone for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
Source§fn clone(&self) -> GoogleCloudDialogflowCxV3DataStoreConnectionSignals
fn clone(&self) -> GoogleCloudDialogflowCxV3DataStoreConnectionSignals
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
impl Default for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
Source§fn default() -> GoogleCloudDialogflowCxV3DataStoreConnectionSignals
fn default() -> GoogleCloudDialogflowCxV3DataStoreConnectionSignals
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
impl RefUnwindSafe for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
impl Send for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
impl Sync for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
impl Unpin for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
impl UnwindSafe for GoogleCloudDialogflowCxV3DataStoreConnectionSignals
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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>
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>
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