Struct google_api_proto::google::cloud::dialogflow::cx::v3::generative_settings::KnowledgeConnectorSettings
source · pub struct KnowledgeConnectorSettings {
pub business: String,
pub agent: String,
pub agent_identity: String,
pub business_description: String,
pub agent_scope: String,
pub disable_data_store_fallback: bool,
}
Expand description
Settings for knowledge connector. These parameters are used for LLM prompt
like “You are
Fields§
§business: String
Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
agent: String
Name of the virtual agent. Used for LLM prompt. Can be left empty.
agent_identity: String
Identity of the agent, e.g. “virtual agent”, “AI assistant”.
business_description: String
Company description, used for LLM prompt, e.g. “a family company selling freshly roasted coffee beans”.
agent_scope: String
Agent scope, e.g. “Example company website”, “internal Example company website for employees”, “manual of car owner”.
disable_data_store_fallback: 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 KnowledgeConnectorSettings
impl Clone for KnowledgeConnectorSettings
source§fn clone(&self) -> KnowledgeConnectorSettings
fn clone(&self) -> KnowledgeConnectorSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KnowledgeConnectorSettings
impl Debug for KnowledgeConnectorSettings
source§impl Default for KnowledgeConnectorSettings
impl Default for KnowledgeConnectorSettings
source§impl Message for KnowledgeConnectorSettings
impl Message for KnowledgeConnectorSettings
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 KnowledgeConnectorSettings
impl PartialEq for KnowledgeConnectorSettings
source§fn eq(&self, other: &KnowledgeConnectorSettings) -> bool
fn eq(&self, other: &KnowledgeConnectorSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KnowledgeConnectorSettings
Auto Trait Implementations§
impl Freeze for KnowledgeConnectorSettings
impl RefUnwindSafe for KnowledgeConnectorSettings
impl Send for KnowledgeConnectorSettings
impl Sync for KnowledgeConnectorSettings
impl Unpin for KnowledgeConnectorSettings
impl UnwindSafe for KnowledgeConnectorSettings
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