pub struct GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer {
pub answer: Option<String>,
pub faq_question: Option<String>,
pub match_confidence: Option<f32>,
pub match_confidence_level: Option<String>,
pub source: Option<String>,
}Expand description
An answer from Knowledge Connector.
This type is not used in any activity, and only used as part of another schema.
Fields§
§answer: Option<String>The piece of text from the source knowledge base document that answers this conversational query.
faq_question: Option<String>The corresponding FAQ question if the answer was extracted from a FAQ Document, empty otherwise.
match_confidence: Option<f32>The system’s confidence score that this Knowledge answer is a good match for this conversational query. The range is from 0.0 (completely uncertain) to 1.0 (completely certain). Note: The confidence score is likely to vary somewhat (possibly even for identical requests), as the underlying model is under constant improvement. It may be deprecated in the future. We recommend using match_confidence_level which should be generally more stable.
match_confidence_level: Option<String>The system’s confidence level that this knowledge answer is a good match for this conversational query. NOTE: The confidence level for a given `` pair may change without notice, as it depends on models that are constantly being improved. However, it will change less frequently than the confidence score below, and should be preferred for referencing the quality of an answer.
source: Option<String>Indicates which Knowledge Document this answer was extracted from. Format: projects//knowledgeBases//documents/.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
impl Clone for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
Source§fn clone(&self) -> GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
fn clone(&self) -> GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
impl Default for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
Source§fn default() -> GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
fn default() -> GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
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 GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
impl Send for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
impl Sync for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
impl Unpin for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
impl UnwindSafe for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
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