pub struct GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings {
pub agent: Option<String>,
pub agent_identity: Option<String>,
pub agent_scope: Option<String>,
pub business: Option<String>,
pub business_description: Option<String>,
pub disable_data_store_fallback: Option<bool>,
}Expand description
Settings for knowledge connector. These parameters are used for LLM prompt like “You are . You are a helpful and verbose at , . Your task is to help humans on “.
This type is not used in any activity, and only used as part of another schema.
Fields§
§agent: Option<String>Name of the virtual agent. Used for LLM prompt. Can be left empty.
agent_identity: Option<String>Identity of the agent, e.g. “virtual agent”, “AI assistant”.
agent_scope: Option<String>Agent scope, e.g. “Example company website”, “internal Example company website for employees”, “manual of car owner”.
business: Option<String>Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
business_description: Option<String>Company description, used for LLM prompt, e.g. “a family company selling freshly roasted coffee beans”.
disable_data_store_fallback: Option<bool>Whether to disable fallback to Data Store search results (in case the LLM couldn’t pick a proper answer). Per default the feature is enabled.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
impl Clone for GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
Source§fn clone(
&self,
) -> GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
fn clone( &self, ) -> GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
impl Default for GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
Source§fn default() -> GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
fn default() -> GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
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 GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
impl RefUnwindSafe for GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
impl Send for GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
impl Sync for GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
impl Unpin for GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
impl UnwindSafe for GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
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