Struct google_api_proto::google::cloud::dialogflow::cx::v3::DataStoreConnectionSignals
source · pub struct DataStoreConnectionSignals {
pub rewriter_model_call_signals: Option<RewriterModelCallSignals>,
pub rewritten_query: String,
pub search_snippets: Vec<SearchSnippet>,
pub answer_generation_model_call_signals: Option<AnswerGenerationModelCallSignals>,
pub answer: String,
pub answer_parts: Vec<AnswerPart>,
pub cited_snippets: Vec<CitedSnippet>,
pub grounding_signals: Option<GroundingSignals>,
pub safety_signals: Option<SafetySignals>,
}
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, …
Fields§
§rewriter_model_call_signals: Option<RewriterModelCallSignals>
Optional. Diagnostic info related to the rewriter model call.
rewritten_query: String
Optional. Rewritten string query used for search.
search_snippets: Vec<SearchSnippet>
Optional. Search snippets included in the answer generation prompt.
answer_generation_model_call_signals: Option<AnswerGenerationModelCallSignals>
Optional. Diagnostic info related to the answer generation model call.
answer: String
Optional. The final compiled answer.
answer_parts: Vec<AnswerPart>
Optional. Answer parts with relevant citations.
Concatenation of texts should add up the answer
(not counting
whitespaces).
cited_snippets: Vec<CitedSnippet>
Optional. Snippets cited by the answer generation model from the most to least relevant.
grounding_signals: Option<GroundingSignals>
Optional. Grounding signals.
safety_signals: Option<SafetySignals>
Optional. Safety check result.
Trait Implementations§
source§impl Clone for DataStoreConnectionSignals
impl Clone for DataStoreConnectionSignals
source§fn clone(&self) -> DataStoreConnectionSignals
fn clone(&self) -> DataStoreConnectionSignals
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataStoreConnectionSignals
impl Debug for DataStoreConnectionSignals
source§impl Default for DataStoreConnectionSignals
impl Default for DataStoreConnectionSignals
source§impl Message for DataStoreConnectionSignals
impl Message for DataStoreConnectionSignals
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for DataStoreConnectionSignals
impl PartialEq for DataStoreConnectionSignals
source§fn eq(&self, other: &DataStoreConnectionSignals) -> bool
fn eq(&self, other: &DataStoreConnectionSignals) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataStoreConnectionSignals
Auto Trait Implementations§
impl Freeze for DataStoreConnectionSignals
impl RefUnwindSafe for DataStoreConnectionSignals
impl Send for DataStoreConnectionSignals
impl Sync for DataStoreConnectionSignals
impl Unpin for DataStoreConnectionSignals
impl UnwindSafe for DataStoreConnectionSignals
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request